ceil.js
Ceils the given value to the specified number of decimal places.
Install
npm install ceil
API
ceil(value)
Returns the smallest integer greater than or equal to value
.
var ceil = ; ; // 1; // 4; // 8
ceil(value, scale)
Returns the smallest integer greater than or equal to value
to scale
(+/-) number of decimal places.
var ceil = ; ; // 55.6; // 60; // -55.5; // -50 ; //100000; //20000; //13000; //12500; //12490; //12490