Possible Duplicate:
Formatting numbers (decimal places, thousands separators, etc) with CSS
I'm working on a web application for statistics (LAMP platform), and I was wondering if CSS3 could take care of thousands separation in numbers.
For example, I would like that a writing just like
Items sold: 101715
could appear like
Items sold: 101 715
So with a space as a thousands separator.
I know I can have it with PHP, and also that for something like CSS3 this has to do with semantic evaluation of related content, but I started wondering if this could be possible.
Anyone?
No CSS cant format numbers, if you would like to do something like that in the client, you would have to look into javascript.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With