Android Question problem with NumberFormat with Android 11

Lello1964

Well-Known Member
Licensed User
Longtime User
I have foud this difference between Android 9 and Android 11

I have this code
B4X:
Dim a As Int =0
Log(NumberFormat(a,0,4) )

Android 9 :
result = 0

Android 11 :
result = .0

why there is . before 0 ?
Someone have some problem, how solve ?

other example
B4X:
Dim a As Int =12
Log(NumberFormat(a,0,4) )

Android 9 :
result = 12

Android 11 :
result = 12.0
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…