StrictMath.ToDegrees(Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts an angle measured in radians to an approximately equivalent angle measured in degrees.
[Android.Runtime.Register("toDegrees", "(D)D", "")]
public static double ToDegrees (double angrad);
[<Android.Runtime.Register("toDegrees", "(D)D", "")>]
static member ToDegrees : double -> double
Parameters
- angrad
- Double
an angle, in radians
Returns
the measurement of the angle angrad
in degrees.
- Attributes
Remarks
Converts an angle measured in radians to an approximately equivalent angle measured in degrees. The conversion from radians to degrees is generally inexact; users should not expect cos(toRadians(90.0))
to exactly equal 0.0
.
Java documentation for java.lang.StrictMath.toDegrees(double)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.