schimanski Well-Known Member Licensed User Longtime User Jan 2, 2011 #1 Hello! Has anyone a solution for my problem? I want to fill a binary-string with zeros, until the string has a length from 24 chars. It runs fine, as long as x isn't longer that 15 chars. I think, the problem is, that numberformat works only with double. I there another way or must I fill the string with for-next? Code: Copy X="1111111111111111" NumberFormat2(X,24,0,0,False) Thanks for help....
Hello! Has anyone a solution for my problem? I want to fill a binary-string with zeros, until the string has a length from 24 chars. It runs fine, as long as x isn't longer that 15 chars. I think, the problem is, that numberformat works only with double. I there another way or must I fill the string with for-next? Code: Copy X="1111111111111111" NumberFormat2(X,24,0,0,False) Thanks for help....
agraham Expert Licensed User Longtime User Jan 2, 2011 #2 You will have to build the string with For..Next. Doubles don't have sufficient resolution to represent numbers with more than 16 or 17 digits. Upvote 0
You will have to build the string with For..Next. Doubles don't have sufficient resolution to represent numbers with more than 16 or 17 digits.