Search results
51 packages found
A function to offer more rounding options for numbers in JavaScript and TypeScript
Precise to N fractional digits without rounding the Number. 99.9999 => precise_to_n_fractionals(99.9999,3) => 99.999
A simple package for rounding numbers by EPSILON prop
Round a number to n significant figures.
Rounds number to specific number of digits before or after decimal
3 functions: getRounded(), getRoundedUp(), getRoundedDown()
This has not been performance tested.
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
a rounding function that may give more accurate rounding results than the method taught in school. It avoids cumulative errors