ceil
This function is used by Ignition's Expression language.
Description​
Returns the smallest floating point value that is greater than or equal to the argument and is equal to a mathematical integer.
Syntax​
ceil(number)
Parameters​
Type | Parameter | Description |
---|---|---|
Float | number | The number to get the ceiling of. |
Results​
Float - The ceiling of the value provided.
Examples​
Code Snippet
ceil(2.38) //returns 3.0