I want to have a script that runs if the variable X is within 0 and 1. I writed down the following code:
if 0 < X < 1 statementelse display(NaN)end
The output script isn't an error but the if condition is not respected and values are away from the interval.
How can I solve this problem. Thanks in advance.
Best Answer