$divide
Last updated
Last updated
$divide
operator lets you divide one value from another and return the result of the expression. You can use this in any .
<val_1>
It can also be a Magical Autocomplete.
true
<val_2>
It can also be a Magical Autocomplete.
true
float
- The result of $divide operation
The above expression returns 5.0
The above expression calculates the nested expression, return 3 in its place and then the outer $divide
expression returns 0.75 overall.
Let's say we have declared a variable temp
in our API flow, which has a value of 6 currently.
The above expression would resolve to a result of 2.0
The value to be divided, also known as the dividend.
The <val_1>
can be any valid as long as it resolves to a number.
The value to be divided by, also known as the divisor.
The <val_2>
can be any valid as long as it resolves to a number.