I would like to inspect a span element and check for its number format and apply digit grouping to it with jquery
It the number has more than 3 digits, that is for >1000, it must do digit grouping, to separate the thousands from the hundreds, and the hundred thousands from the thousands:
eg.
<span>5500000.00</span>
should become
<span>5 500 000.00</span>
Is that possible with jQuery?