Sunday 8 September 2013

Display number as specificed format?

Display number as specificed format?

As the title, I want to know that is it possible to display numbers as
specificed format in PHP.
I know that out there have a lots of function convert number to word, but
I promise my case is different from them.
Well, we have a number for example: 1000000 (one million)
So I want it display as 1000K or 1000 thousand instead of traditional way.
Could you give me some suggestions?

No comments:

Post a Comment