Ardenian
A
Ardenian
How does the conversion from real to integer behaves ?
Does it like in math, 3 -> 3.4999999 becomes 3 and 3.50 -> 3.9999999 becomes 4 ?
Can I directly compare the real and the integer, like:
Or do I have to convert the integer back to real first ? ( the answer is obvious, isn't it, I have to convert it, don't I ?)
Does it like in math, 3 -> 3.4999999 becomes 3 and 3.50 -> 3.9999999 becomes 4 ?
Can I directly compare the real and the integer, like:
JASS:
if real r > integer i then
endif
Or do I have to convert the integer back to real first ? ( the answer is obvious, isn't it, I have to convert it, don't I ?)