From our monthly sponsor: Ship customer-facing metrics fast with Keen.io. Collect, store, query, & display stunning analytics.
Here’s a jQuery plugin that transforms a number into a human readable format. This plugin formats a number like 23454321234 into 23.454.321.234 . You can use different delimiters like the comma, dot, space or anything you specify in the plugin.
Here are some examples of how to call the plugin:
//it would output 1.234.567.123.672
delimiter : ','
//it would output 12,345,622,237,123,672