derez Expert Licensed User Longtime User Nov 9, 2010 #1 As Format is not valid yet, is it possible to convert an integer to a string with a fixed length ? I need to change 2 to "02", 16 to "16" etc. Edit: delete the thread, I know how to do it... Last edited: Nov 9, 2010
As Format is not valid yet, is it possible to convert an integer to a string with a fixed length ? I need to change 2 to "02", 16 to "16" etc. Edit: delete the thread, I know how to do it...
Erel B4X founder Staff member Licensed User Longtime User Nov 9, 2010 #2 Format will be available soon. You can always do something like: B4X: Dim s As String s = 2 'or any other integer If s.length = 1 then s = "0" & s
Format will be available soon. You can always do something like: B4X: Dim s As String s = 2 'or any other integer If s.length = 1 then s = "0" & s