roundoff-numbers

1.0.1 • Public • Published

var roundoff= require("roundoff-numbers")

console.log(roundoff(1234.546664,2)) //1234.55

roundoff(1000,2) // It Contains Two Parameter One is number another one is decimal It will return 1000.00 like that roundoff(11000.23,2) It will return 11000.23 roundoff(1345.55,0) It will return 1346

Readme

Keywords

Package Sidebar

Install

npm i roundoff-numbers

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

772 B

Total Files

3

Last publish

Collaborators

  • lvenkatesh6526