npm

Need private packages and team management tools?Check out npm Orgs. »

fixed-round

1.0.2 • Public • Published

fixed-round

Math.round with fixed, formats a number using fixed-point notation and returns a number.

Build Status Coverage Status npm npm download

Usage

npm i --save fixed-round

var round = require('fixed-round');
// round(number, toFixed);
 
round(125.34567, 2); // 125.35
round(125.34567); // 125
round(125.34567, -1); // 130

License

ISC@hustcc.

install

npm i fixed-round

Downloadsweekly downloads

63

version

1.0.2

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability