Is it safe if I use comparision like this (a is int, b and c is float/double):
a == b b == c
It may hear ridiculous, but in my old programi
In java you can compare a float with another float,and a double with another double.And you will get true when comparing a double with a float when their precision is equal