I am looking for a library that can take a number, for example 1,000,000,000, and output a partial textual representation, for example. 1 billion- but (preferably) in an already localized order. (So, if the culture was not English, we would get an appropriate textual representation.)
Is there such a thing?
He should be able to do
1,000,000 -> 1 million
56,243,152 -> 56 million
I know that I ask a lot - but it would be painful to reinvent something for this.
source
share