There is just one small problem, the thousands separator might be . or , depending on the country your phone lives in (And each has been used in the solutions above!).
Here is a trick to figure out what it is:
The "random fraction" is a number between 0 and 1. If you see a , then the thousands separator will be a . and the other way around.
Cheers, Ghica.