OK
I don't know why because I didn't test it before but today I noticed when you have number like 007 it always show without zeroes. It shows 7
Here is little code:
And here's what I got on emulator and phone:
or
I don't know why because I didn't test it before but today I noticed when you have number like 007 it always show without zeroes. It shows 7
Here is little code:
B4X:
Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim IdInt As Int
Dim IdString As Int
Dim IdFloat As Float
Dim IdDouble As Double
IdInt = 007
IdString = 007
IdFloat = 007
IdDouble = 007
End Sub
Sub Activity_Create(FirstTime As Boolean)
Msgbox("IdInt: " &IdInt _
&CRLF& _
"IdString: " &IdString _
&CRLF& _
"IdFloat: " &IdFloat _
&CRLF& _
"IdDouble: " &IdDouble,"OK")
End Sub
And here's what I got on emulator and phone: