$floor
$floor
operator helps you in calculating floor value in an expression. You can use this in any Expression Object.
Syntax
Properties
Field | Description | Required |
---|---|---|
<value | expr> | The The It can also be a Magical Autocomplete. | true |
Returns
float
- The result of $floor operation
Examples
Basic example
The above expression returns 3
With Nested Expressions
The above expression calculates the nested expression, return 1.3 in its place and then the outer $floor
expression returns 1 overall.
With Magical Autocomplete
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 -9
Last updated