reverse-round
v1.0.0
Published
Rounding, in reverse.
Downloads
2
Readme
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