Number Format Bug(?)

Cableguy

Expert
Licensed User
Longtime User
Hi...

I am using the OS lib to get the scale of the current device...and using a Toast Message to display it to me, for testing purposes...
The message is composed by the devices screen Height, screen Width and scale.
In the toast message the screen scale shows "1.0" or "1.5"....
Then I use a case select to act acording to the scale factor, BUT i have to use 1,0 for the code to be correct....!(notice the comma instead of a decimal point)
 

Cableguy

Expert
Licensed User
Longtime User
Yes, but I am using the OS lib for other things too...just point out what I've found, so that others can find it too... Perhaps a Number Formating within the Lib itself would be required for this Not to be an issue(?)
 
Top