Sqrt

Not available in this language yet.
Sqrt( value )
Sqrt( value )
Sqrt( value )
Not available in this language yet.
Not available in this language yet.
Not available in this language yet.
Sqrt( value )

Description

The Sqrt function returns the positive square root of a number value.

Parameters

Argument Type Definition and Requirements

value

Number

Take the square root of value.

Returns

A number which is the given angle measured in degrees.

Examples

The query in the following example returns the square root of 16:

System.out.println(
    client.query(
        Sqrt(Value(16))
    ).get());
client.query(
  q.Sqrt(16)
)
.then((ret) => console.log(ret))
println(Await.result(
  client.query(
    Sqrt(16)
  ),
  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.
4.0
4
4.0

Was this article helpful?

We're sorry to hear that.
Tell us how we can improve! documentation@fauna.com

Thank you for your feedback!