fmod(): toFixed() digits argument must be between 0 and 100
dekairi opened this issue · 2 comments
dekairi commented
fmod(10, 1)
causes the error:
Uncaught RangeError: toFixed() digits argument must be between 0 and 100
Possible solution:
else {
return parseFloat(tmp2.toFixed(Math.abs(p))); // instead of (toFixed(-p))
}
github-actions commented
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 14 days.
kvz commented
Sorry for the late response, but this is fixed now in the referenced commit 🙌