Hello,
I’m wondering if there is any method to check if the number is NaN or inf?
I tried the following to no avail:
if VALUE == "nan" then print("this is not a number") end ------------------------------ if VALUE == "inf" then print("this is infinite number") end
Is there such thing as:
math.isNan() or math.isINF() ?
Thanks for your help!