Math.wrap #1132
Replies: 4 comments
-
Posted at 2018-01-14 by @MaBecker Have you tried using modulo |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-01-15 by @gfwilliams
As such But as @mabe says, for this kind of thing with just integers you could also easily use modulo: |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-01-15 by Frida I just wondered that it was different in a program and in the console. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-01-15 by @gfwilliams Maybe I'm misunderstanding... In your uploaded code:
The return value of
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2018-01-14 by Frida
I have problems with Math.wrap.
When I run it in a program, it does not wrap, but if I enter it in the console it wraps it ok.
On a Pico
Beta Was this translation helpful? Give feedback.
All reactions