-
Our posts are crossing each other and I hadn't finalized that post. Discovered the difference while ping-ponging between MDN and the WebIDE. Is an interesting subtlety one needs to be aware of. Thanks for confirming.
'so there are no parenthesis ' (double quotes)
May I inquire as to which Espruino version those tests were done? (same 2v04 ?)
Had a thought, could this anomaly be related to the floating point number of digits to right of zero not matching different browsers and node.js output? hmmmm. . . .http://forum.espruino.com/conversations/336605/
test files #1
Sun 2019.08.11
You beat me to it
toFixed()
@AkosLukacs, as I was in the process of documenting a discovered anomaly while prepping my response.as a mod to your example will show
Is this another anomaly but with
toFixed()
? (re: "The number is rounded if necessary" )YES just posted