rounder
Round a number to a specific number of decimal places.
Install
$ npm install --save rounder
Usage
var rounder = ; ;//=> 1.53 ;//=> 1.525
API
rounder(value, precision)
value
Required
Type: number
The number to round.
precision
Type: number
The number of digits after the decimal point to round to.
License
MIT © Nate Cavanaugh