Previous Topic: &CONTROL REAL

Next Topic: Arithmetic Expressions

Comparisons With Real Numbers

You must use &CONTROL REAL to switch to real number operation if you want to perform comparisons of real numbers. This is because the &IF statement does not know implicitly whether a variable containing a value such as:

+.986000000000000E+05

is a real number in scientific notation or simply a character string that starts with a plus sign.