Search results
53 packages found
Precise to N fractional digits without rounding the Number. 99.9999 => precise_to_n_fractionals(99.9999,3) => 99.999
Number short-scaling for JavaScript
The fixdecimal package provides an extended rounding and decimal digit fixing solution in JavaScript.This Package allows to handle floating number operations precisely and effiently.
Banker's rounding for Javascript
Like Math.floor but for Date objects
A simple package for rounding numbers by EPSILON prop
Round a number to the floor or ceiling, based on your own set bias
This has not been performance tested.
Rounds number to specific number of digits before or after decimal
3 functions: getRounded(), getRoundedUp(), getRoundedDown()
Returns number with fixed number of digits after the decimal. It also rounds cautiously to avoid cumulative errors
Maths expression eval for boring stuff like money, accounting and such