I have the following:
which yields "10" and "1,000". However, I need "10" and "1000". Is there a way to use NumberFormat to not get the thousands indicator? (and no leading zero's - the variable could be both under/over a thousand)
B4X:
Dim a As Int = 10
Dim b As Int = 1000
Dim c, d As String
c = NumberFormat(a, 1, 0)
d = NumberFormat(b, 1, 0)
which yields "10" and "1,000". However, I need "10" and "1000". Is there a way to use NumberFormat to not get the thousands indicator? (and no leading zero's - the variable could be both under/over a thousand)