Table of Contents

Floor

Namespace
ZPlatform
FUNCTION Floor (
 [input] value : LREAL) : LREAL

Determines a integral value from a floating point number that is a fraction smaller than or equal that number. The resulting number is of type LREAL and is therefore not limited to the value range of integer variables.

Examples:

Floor(2.8) = 2
Floor(-2.8) = -3

This implementation is a wrapper for FPU.Floor

Inputs

value LREAL

Returns

LREAL