#incompatible types lossy conversation from double to int
13 messages ยท Page 1 of 1 (latest)
oh thanks lol
what if I use if
you could
but note that comparing floating point numbers with == might not lead to expected results
e.g. you might result into situations like 0.0000000000001==0 which is false
๐
or even worse, 0.1+0.2==0.3 yields false
because 0.1+0.2 is 0.30000000000000004