Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
rem is an integer operation.
8 is an integer (int)
8.0 is a fractional number (float).
comparison by value:
8 > 8 == 8.0.
true
12> 8 /= 8.0.
false
comparison by value and type
9> 8 =:= 8.0.
false
10 > 8 =/= 8.0.
true
I recommend always using comparison by value and type.. it's more reliable.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question