Casting Values
Grumpy Gamer
OCTOBER 25, 2018
The both sides of trinary operator must return the same type, and in this case I was returning an INT and a FLOAT, so it cast the INT to a FLOAT before returning the value. I guess I'm good until 2038. Do you know the issue? I won't keep everyone in suspense. I seem to recall being bitten by a similar bug 20 years ago.
Let's personalize your content