JavaScript Library for Formatting and Manipulating Numbers | numer.js

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 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' 
=> 1,00,000

4. Shorten large numbers.

new Numer({ 
    style: 'abbreviation' 
=> 0.1B

5. Format a number as ordinal.

new Numer({ 
    style: 'ordinal' 
=> 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.

Leave a Comment