fixed-ceil

1.0.0 • Public • Published

fixed-ceil

Math.ceil 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-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.

Package Sidebar

Install

npm i fixed-ceil

Weekly Downloads

1

Version

1.0.0

License

ISC

Last publish

Collaborators

  • atool