numbum
v1.0.4
Published
Convert numbers to more readable form!
Downloads
7
Readme
NumBum
Numbum is a Node.js module for converting numbers to more readable form.
Installation
$ npm install numbum
Usage
numbum(number, decimals_to_round[optional])
var numbum = require(numbum);
numbum.numbum(232434.53434,2)
>>>'232.43K'
numerize(3238723232.00000,2)
>>>'3.24B'
This will convert large numbers like 232434.53434 into 232.43K
Requirements
Node.js