Abs
Not available in this language yet.
Abs( value )
Abs( value )
Abs( value )
Not available in this language yet.
Not available in this language yet.
Not available in this language yet.
Abs( value )
Parameters
Argument | Type | Definition and Requirements |
---|---|---|
|
Number |
Take the absolute value of this argument. |
Examples
The query below returns the absolute value of -100.
System.out.println(
client.query(
Abs(Value(-100))
).get());
client.query(
q.Abs(-100)
)
.then((ret) => console.log(ret))
println(Await.result(
client.query(
Abs(-100)
),
5.seconds
))
Not available in this language yet.
Not available in this language yet.
Not available in this language yet.
Not available in this language yet.
Not available in this language yet.
100
100
100
Was this article helpful?
We're sorry to hear that.
Tell us how we can improve!
documentation@fauna.com
Thank you for your feedback!