Previous Topic: Arithmetic Operators

Next Topic: Divide Quotient (INTEGER Arithmetic)

Divide (REAL Arithmetic)

When a division operation is performed in which one or both numbers are real, the result is placed in the target variable as a single real number in scientific notation. The result is not split into quotient and remainder.

Example: Divide

&RESULT = (288.5 / 45)

yields a value in &RESULT of:

+.641111111111110E+01  equivalent to 6.41.