Ceiling (Real)
Last updated
Last updated
© Copyright 2023, Astera Software
Name
Ceiling (Real)
Syntax
Ceiling (Real number)
Purpose
To return the smallest integer greater than or equal to the number specified.
Description
Returns the smallest integer greater than or equal to the number specified.
Return Type
Integer
Parameters
number [System.Double] – Number for which the ceiling value will be returned
Example
In this example, we are passing a real value to the function transformation object using a Variables object.
Where,
number = -12.34
In the output window, you can see that the ceiling value, -12, has been returned for the provided number value.