NextHighestInteger (FPScript)
Determines the next highest integer for a floating point value.
Syntax
NextHighestInteger(Number)
The syntax of the NextHighestInteger function consists of the following parts:
Part |
Description |
---|---|
Number |
The number whose next-highest 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
NextHighestInteger(3.45) |
Results in 4.0. |
NextHighestInteger(-3.45) |
Results in -3.0. |