reverse-round

1.0.0 • Public • Published

Reverse Round

Rounding, in reverse.

Rounds numbers in a backwards manner. If regular rounding would make a number bigger, this makes it smaller. If regular rounding would make a number smaller, this makes it bigger. For example:

reverseRound(3.1) == 4 // true
reverseRound(3.7) == 3 // true

Readme

Keywords

none

Package Sidebar

Install

npm i reverse-round

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

2.25 kB

Total Files

5

Last publish

Collaborators

  • 54m