次の方法で共有


StrictMath.ToDegrees(Double) Method

Definition

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.

Applies to