Degrees
Degrees( value )
Degrees( value )
Degrees( value )
Degrees( value )
degrees( value )
Degrees( value )
Description
The Degrees
function converts a specified number from radians to
degrees. The value
argument is an angle measured in radians, which is
converted to an approximate angle measured in degrees.
Parameters
Argument | Type | Definition and Requirements |
---|---|---|
|
A number representing an angle in radians that should be converted to degrees. |
Examples
The following query takes 0.5 radians and converts it to degrees:
Value result = await client.Query(
Degrees(0.5)
);
Console.WriteLine(result);
DoubleV(28.64788975654116)
result, err := client.Query(
f.Degrees(0.5))
if err != nil {
fmt.Fprintln(os.Stderr, err)
} else {
fmt.Println(result)
}
28.64788975654116
System.out.println(
client.query(
Degrees(Value(0.5))
).get());
28.64788975654116
client.query(
q.Degrees(0.5)
)
.then((ret) => console.log(ret))
.catch((err) => console.error('Error: %s', err))
28.64788975654116
result = client.query(
q.degrees(0.5)
)
print(result)
28.64788975654116
println(Await.result(
client.query(
Degrees(0.5)
),
5.seconds
))
28.64788975654116
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!