ContentsIndexPreviousNext

INTEGER Function

The INTEGER function returns the greatest integer value that is less than or equal to the argument.

Usage

FUNCTION INTEGER (argument-1)

Parameters

Argument-1 must be class numeric.

Returned Values

1. When standard arithmetic is specified, argument-1 is not rounded.

2. The returned value is the greatest integer less than or equal to the value of argument-1.


Note: For example, if the value of argument-1 is -1.5, -2 is returned. If the value of argument-1 is +1.5, +1 is returned.