Integer expressions

An integer expression evaluates to a whole number.

MAIN
  DEFINE r, c INTEGER
  LET c = 4
  LET r = c * ( 2 + c MOD 4 ) / getRowCount("customers")
END MAIN

The operands of an integer expression can be:

If an integer expression includes an operand whose value is not an integer data type, the runtime system attempts to convert the value to an integer according to the data conversion rules.

If an element of an integer expression is NULL, the expression is evaluated to NULL.