Numeral.js
A javascript library for formatting and manipulating numbers
You can use Numerals in the browser and in Node.js. Create an instance of a numeral, Numeral takes numbers or strings that it trys to convert into a number. Numbers can be formatted to look like currency, percentages, times, or even plain old numbers with decimal places, thousands, and abbreviations. And you can always create a custom format. Set a default format so you can use .format() without a string. The default format to '0,0'. Set a custom output when formatting numerals with a value...