$pow
Last updated
Last updated
$pow
operator lets you calculate power of return the result of the expression. You can use this in any .
<number>
true
<exponent>
true
float
- The result of $pow operation
The above expression returns 4.0 (2^2)
The above expression calculates the nested expression, return 3 in its place and then the outer $pow
expression returns 9 overall.
Let's say we have declared a variable temp
in our API flow, which has a value of 5 currently.
The above expression would resolve to a result of 125.0 (5^3 = 5*5*5)
The <number>
expression can be any valid as long as it resolves to a number.
The <exponent>
expression can be any valid as long as it resolves to a number.