Pages: 1
Hello. Is there a way to detect if my variable is a multiple of 480.Thanks.
Offline
Try doing this:
BirdByte wrote:Try doing this:if variable = round variable * 1 / 480 * 480whatever
if variable = round variable * 1 / 480 * 480whatever
Whoops, messed that one up. Sorry, fixed.
BirdByte wrote:Try doing this:
Whoa. I think the "mod" block works.
variable mod 480 = 0
Last edited by jontmy00 (2012-08-13 04:38:24)
jontmy00 wrote:BirdByte wrote:Try doing this:Whoa. I think the "mod" block works.variable mod 480 = 0Help fix it please.
I totally forgot about that!
Thanks for fixing it.FINAL:
Last edited by jontmy00 (2012-08-13 04:39:15)
Thank you very much for your answer
abel465 wrote:Thank you very much for your answer
Welcome.