Pow
Not available in this language yet.
Pow( value, exponent)
Pow( value, exponent)
Pow( value, exponent)
Not available in this language yet.
Pow( value, exponent)
Description
The Pow
function raises its first numeric argument, the base, to the
power of its second numeric argument, the exponent.
Parameters
Argument | Type | Definition and Requirements |
---|---|---|
|
Number |
The base. |
|
Number |
The exponent. |
Examples
Not available in this language yet.
Not available in this language yet.
System.out.println(
client.query(
Arr(
Pow(Value(2), Value(3)),
Pow(Value(5), Value(2))
)
).get());
[8.0, 25.0]
client.query([
q.Pow(2, 3),
q.Pow(5, 2),
])
.then((ret) => console.log(ret))
[ 8, 25 ]
Not available in this language yet.
println(Await.result(
client.query(
Arr(
Pow(2, 3),
Pow(5, 2)
)
),
5.seconds
))
[8.0, 25.0]
Is this article helpful?
Tell Fauna how the article can be improved:
Visit Fauna's forums
or email docs@fauna.com
Thank you for your feedback!