다음을 통해 공유


StrictMath.ToRadians(Double) Method

Definition

Converts an angle measured in degrees to an approximately equivalent angle measured in radians.

[Android.Runtime.Register("toRadians", "(D)D", "")]
public static double ToRadians (double angdeg);
[<Android.Runtime.Register("toRadians", "(D)D", "")>]
static member ToRadians : double -> double

Parameters

angdeg
Double

an angle, in degrees

Returns

the measurement of the angle angdeg in radians.

Attributes

Remarks

Converts an angle measured in degrees to an approximately equivalent angle measured in radians. The conversion from degrees to radians is generally inexact.

Java documentation for java.lang.StrictMath.toRadians(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