I'm looking for a library that can take a number such as 1,000,000,000
and output a partial text represenation e.g. 1 billion
- but (preferably) in an already localised manner. (So that if the culture was not english we'd get the appropriate text representation.)
Does such a thing exist?
It should be able to do
1,000,000 -> 1 million
56,243,152 -> 56 million
I know I'm asking a lot - but it would be a pain to have to re-invent something to do this.