float num = 2/10;
println (num);

why the hell does that not work out to 0.2 in processing? (it tells me the answer is 0.0)

now try the same with…

float num = 2.0/10;
println (num);

and the damn thing works, 0.2! things like this are really annoying!