Degrees

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

Description

The Degrees function converts a specified number from radians to degrees. The argument is an angle measured in radians, which is converted to an approximate angle measured in degrees.

Parameters

Argument Type Definition and Requirements

value

Number

Take the value specified in radians.

Returns

A number which is the given angle measured in degrees.

Examples

The query below takes 0.5 radians and converts it to approximately 28.6 degrees.

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

Was this article helpful?

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

Thank you for your feedback!