Number Expressions

A number expression is a specification that evaluates to a real number.

4GLREF00000211.gif

Here the function call or named value must return a real number of data type DECIMAL, FLOAT, INTEGER, MONEY, SMALLFLOAT, or SMALLINT.

If any operand of an arithmetic operator in a number expression is a NULL value, then 4GL evaluates the entire expression as a NULL value. The range of values in a number expression is that of the receiving data type.

Literal Numbers

A literal number is the base-10 representation of a real number, written as an integer, as a fixed-point decimal number, or in exponential notation.

4GLREF00000212.gif

digit is any of the symbols 1, 2, 3, 4, 5, 6, 7, 8, 9, or 0.