Could this be done with javascript/jQuery:
<div class="number">99,123,123</div>
<div class="number">123,123,123</div>
<div class="number">1,123,123,123</div>
<div class="number">1,123,123,123,123</div>
To display as
99,123,123 // (only start converting after > 8 total digits)
123M // M stands of million
1B
1T
But I also need to keep the actual number, and only display the converted number.
I still need to have access to the un-converted number.
Live DEMO
You can also save the initial value with jQuery
datafunction:Live DEMO