FLOOR

Purpose:

Finds the greatest integer less than or equal to the input value.

Syntax:

FLOOR(val)

val

-

A scalar or series or table.

Returns:

A scalar, series, or table.

Example:

floor(-3.4)

 

returns the scalar value -4.

 

floor(2.2 + 7.8i)

 

yields a value of 2.0 + 7.0i.

 

floor(W2)

 

creates a new series in the current Window by applying FLOOR to each element of W2. The integer value returned by FLOOR is converted to a floating point value.

See Also:

CEILING

FIX

INT