@toby3d these are all of type int

So yes 1 / 2 is 0

1.0 / 2.0 is not 0.0