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