Numer.js is an open-source JavaScript library for number formatting and manipulation.
javascript number format comma, numeral js, css number format comma, js number format, numeraljs github, formatmoney javascript, javascript abbreviate number
How to make use of it:
1. Install numer.js with NPM.
# Yarn $ yarn add numer.js # NPM $ npm i numer.js --save
2. Import the numer.js library.
<script src="numer.js"></script>
3. Format a number with commas as thousands of separators.
new Numer({ style: 'comma' }).format(100000); => 1,00,000
4. Shorten large numbers.
new Numer({ style: 'abbreviation' }).format(123456789); => 0.1B
5. Format a number as ordinal.
new Numer({ style: 'ordinal' }).format(1); => 1st
Tiny Number Format JavaScript Library, numer.js Plugin/Github, numbro
See Demo And Download
Official Website(Bunlong): Click Here
This superior jQuery/javascript plugin is developed by Bunlong. For extra Advanced Usages, please go to the official website.