Had a thought, could this anomaly be related to the recent discovery of floating point number of digits to right of zero not matching different browsers and node.js output? hmmmm. . . .
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Sun 2019.08.11
toFixed()
Does not round as does at the MDN siteThis rounds correctly in the try it window at Mozilla link above
From MDN Correct string representation and rounding
EDIT:
@AkosLukacs documented two other samples in #4 #8
Had a thought, could this anomaly be related to the recent discovery of floating point number of digits to right of zero not matching different browsers and node.js output? hmmmm. . . .
EDIT: Tue 2019.08.20
Unable to verify with
toPrecision()
Verified not a member of Number