NumberFormat-question

schimanski

Well-Known Member
Licensed User
Longtime User
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?

B4X:
  X="1111111111111111"
  NumberFormat2(X,24,0,0,False)

Thanks for help....
 
Top