Modulus #253
Unanswered
espruino-discuss
asked this question in
JavaScript
Modulus
#253
Replies: 1 comment
-
Posted at 2014-04-11 by @gfwilliams Hmm. My fault for assuming it was like the C operator :) It'll be fixed in 1v62, or git commit 13fd6eba115ce9b2680560e23c28f8ad502ad665 in cutting edge builds. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2014-04-11 by Frida
for(i=1,j=5.5;i<10;i++) {
... console.log("i=",i," j=",j,"Modulus j%i=",j%i);
... }
In node.js:
In Espruino 1v61:
Beta Was this translation helpful? Give feedback.
All reactions