@nooxbr/math-utilities
v1.2.1
Published
Abbreviate Numbers and More!!
Downloads
11
Readme
Math Utilities
Documentation: COMING SOON... NPM: Math Utilities
Update 1.1.9
- Added random number function
Update 1.2
- Added separate number function
- Fixed random number
Abbreviate:
Examples:
Abbreviate Numbers
const mu = require("@nooxbr/math-utilities")
mu.ab(3500) [3.5k]
Random Number
const mu = require("@nooxbr/math-utilities")
mu.randomNumber(1, 5) [Returns a random integer from 1 to 5]
Separate number
const mu = require("@nooxbr/math-utilities")
mu.separate(1000) [1,500]
Credits:
Install
npm i @nooxbr/math-utilities