NextLowestInteger (FPScript)

21.09.2021

Determines the next-lowest integer for a floating point value.

Syntax

NextLowestInteger(Number)

 

The syntax of the NextLowestInteger function consists of the following parts:

Part

Description

Number

The number whose next-lowest integer is to be determined.

All data structures are allowed. All numeric data types are permitted.

Remarks

The data type of the result is always 64-bit floating point.

The structure of the result corresponds to that of the argument Number. The calculation is done element-by-element where appropriate.

The result has the same unit as the argument Number.

For aggregate data structures, only the Y component is calculated.

If the argument is a list, then the function is executed for each element of the list and the result is also a list.

For complex data types the absolute value is formed.

Available in

FlexPro Basic, Professional, Developer Suite

Examples

NextLowestInteger(3.45)

Results in 3.0.

NextLowestInteger(-3.45)

Results in -4.0.

See Also

NextHighestInteger Function

RoundDown Function

Share article or send as email:

You might be interested in these articles