fixed-ceil
v1.0.0
Published
Math.ceil with fixed, formats a number using fixed-point notation and returns a number.
Downloads
6
Readme
fixed-ceil
Math.ceil with fixed, formats a number using fixed-point notation and returns a number.
Usage
npm i --save fixed-ceil
var round = require('fixed-ceil');
// round(number, toFixed);
ceil(125.34567, 2); // 125.35
ceil(125.34567); // 126
ceil(125.34567, -1); // 130
License
ISC@ProtoTeam.