Ceiling (Real)
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 |
![](https://documentation.astera.com/~gitbook/image?url=https%3A%2F%2Fgithub.com%2Fastera-software%2FAstera_Data_Stack_v9%2Fblob%2Fmain%2F.gitbook%2Fassets%2F0%2520%2827%29.png&width=768&dpr=4&quality=100&sign=8e8784dd&sv=1)
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.
Last updated