Forum

Mod

mod doesn’t really spit out integers when ‘modding’ two integers.

421 mod 3 gives me something like 1.0000000003
can be seen in the inspector when connecting eg a switch to the output of the mod node…

mod also does other funny things.

connect mod calculationg 24 % 5 (output == 4) to a = with second input set to 4, and the = claims that’s not equal.

( edit: disappears with epsilon >= 1.0e-14, though )

on second read, it appears to be the exact same thing woei mentioned; sorry for being redundant.

hmmmmm. something related?

the hard one

and the other one

thansk. fixed.