With floating point math in the NXT software, it's no longer possible to compute modulo (no complaint about floating point ).
Is there any available option for it, or an integer block which could then be used in a myblock to compute modulo.
thanks.
Modulo Block for NXT version 2.0
Re: Modulo Block for NXT version 2.0
Don't know of any custom blocks, but I think all you have to do is carry out the division then subtract the original number to get the decimal bit.
A sophistical rhetorician, inebriated with the exuberance of his own verbosity, and gifted with an egotistical imagination that can at all times command an interminable and inconsistent series of arguments to malign an opponent and to glorify himself.
-
- Posts: 346
- Joined: 27 Sep 2010, 03:05
- Contact:
Re: Modulo Block for NXT version 2.0
You may want to look into how to install the integer blocks.
http://www.teamhassenplug.org/NXT/NXTGAdditions.html
Steve
http://www.teamhassenplug.org/NXT/NXTGAdditions.html
Steve
---> Link to lots of MINDSTORMS stuff under my picture --->
Re: Modulo Block for NXT version 2.0
Steve, i put the integer math block on the palette and now i can compute modulo.
Thanks for pointing that to me, somehow I missed that although I had visited that page in my original search.
Thanks for pointing that to me, somehow I missed that although I had visited that page in my original search.
Who is online
Users browsing this forum: No registered users and 3 guests