Radians

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

Description

The Radians function translates a specified number from degrees to radians. The argument is an angle measured in degrees, which is converted to the approximated angle measured in radians.

Parameters

Argument Type Definition and Requirements

value

Number

Take the value specified in degrees.

Returns

A number which is the given angle measured in radians.

Examples

The query in the following example returns the radians of 2 degrees:

Not available in this language yet.
Not available in this language yet.
System.out.println(
    client.query(
        Radians(Value(2))
    ).get());
0.03490658503988659
client.query(
  q.Radians(2)
)
.then((ret) => console.log(ret))
0.0349065850398865
Not available in this language yet.
println(Await.result(
  client.query(
    Radians(2)
  ),
  5.seconds
))
0.03490658503988659

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!