Radians

Not available in this language yet.
Radians( value )
Radians( value )
Radians( value )
Not available in this language yet.
Not available in this language yet.
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:

System.out.println(
        client.query(
                Radians(Value(2))
        ).get());
0.03490658503988659

Was this article helpful?

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

Thank you for your feedback!