Description | If both operands are longs, the map performs long (32-bit integer) arithmetic. If either operand is a floating point number, the arithmetic is performed as floating point. |
Syntax | Option Math Fast |
Remarks | Math is performed using floating point values, since they are much faster than decimal values. This statement is a context-setting at the transformation level. If Option Math Fast is used once, the setting remains in effect for all expressions in a transformation, unless another statement changes the setting. |
Description | Perform decimal arithmetic |
Syntax | Option Math Precise |
Remarks | This statement is used to force decimal arithmetic, unless one of the operands is a floating point number. In this case, the math is done as floating point. If the result overflows or underflows, it converts both numbers to floating point and tries again. This statement is a context-setting at the transformation level. If Option Math Precise is used once, the setting remains in effect for all expressions in a transformation, unless another statement changes the setting. |
Description | Perform decimal arithmetic |
Syntax | Option Math Strict |
Remarks | This statement is similar to Option Math Precise, however, if an overflow or underflow occurs, a run-time error is generated (instead of transformation of the numbers to floating point). This statement is a context-setting at the transformation level. If Option Math Strict is used once, the setting remains in effect for all expressions in a transformation, unless another statement changes the setting. |