JS Numbers Formatting and Manipulation Library - Numeral.js

File Size: 44.1 KB
Views Total: 4274
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
JS Numbers Formatting and Manipulation Library - Numeral.js

Numeral.js is a js library inspired by Moment.js that format and manipulate numbers to look like currency, percentages, times, or even plain old numbers with decimal places, thousands, and abbreviations.

You might also like:

How to use it:

1. Include Numeral.js on the page

<script src="js/min/numeral.min.js"></script>

2. Format the numbers using javascript

var string = numeral(1000).format('0,0');
// '1,000'

This awesome jQuery plugin is developed by adamwdraper. For more Advanced Usages, please check the demo page or visit the official website.