I want to generate number automaticly, like example below this
185678941238
185678941239
185678941240
185678941241
185678941242
185678941243
185678941244
185678941245
185678941246
185678941247
This my code
but the result like this :
Anyone know where is wrong ??, this don't happen when i use only 4 or 5 digit number.
Thanks
185678941238
185678941239
185678941240
185678941241
185678941242
185678941243
185678941244
185678941245
185678941246
185678941247
This my code
B4X:
Dim strno As String ="185678941238"
For intno =0 To 10
If intno>0 Then
strno=strno+intno
End If
Log(intno & ". " & strno)
Next
but the result like this :
B4X:
0. 185678941238
1. 1.85678941239E11
2. 1.85678941241E11
3. 1.85678941244E11
4. 1.85678941248E11
5. 1.85678941253E11
6. 1.85678941259E11
7. 1.85678941266E11
8. 1.85678941274E11
9. 1.85678941283E11
10. 1.85678941293E11
Anyone know where is wrong ??, this don't happen when i use only 4 or 5 digit number.
Thanks