$ceil
Last updated
Last updated
$ceil
operator helps you in calculating ceiling value in an expression. You can use this in any .
<value | expr>
The <value>
is any valid floating number.
It can also be a Magical Autocomplete.
true
float
- The result of $ceil operation
The above expression returns 4
The above expression calculates the nested expression, return 1.3 in its place and then the outer $ceil
expression returns 2 overall.
Let's say we have declared a variable temp
in our API flow, which has a value of -8.2 currently.
The above expression would resolve to a result of -8
The <expr>
expression can be any valid as long as it resolves to a number.