Please enable JavaScript to view this site.

ESL Documentation

MATHLIB Function

Return the largest integer smaller than or equal to X.

FLOOR(X_FV)

X_FV

A floating point value in the range -2147483648 through 2147483648, inclusive.

Description

Use this function to return the largest integer smaller than or equal to X.

Errors

FLOOR: argument > largest integer; returning 0.0.

FLOOR: argument < smallest integer; returning 0.0.

X is not within the allowable range, so the function returned the value 0.0 and placed one of these messages in the ESL errorlog.