Radians
Copied!
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 |
---|---|---|
|
Number |
Take the value specified in degrees. |
Examples
The query in the following example returns the radians of 2 degrees:
Copied!
client.query(
q.Radians(2)
)
.then((ret) => console.log(ret))
0.0349065850398865
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!