Does android provide a way to shrink or abbreviate large numbers or do I have to roll out my own? For examples
- 1,000 => 1k
- 25,678 => 25.7k
- 3,456,245 => 3.5m
Or at the very least, is there a built-in android/java method for adding commas to numbers?
The reason I would really rather not roll this out myself is because this is for an android app, and I need the app itself to take locale into account.