Radian()

语法

Result.f = Radian(Angle.f)
概要
Converts the given angle from degrees into radian.

参数

Angle.f The input angle in degree.

返回值

Returns the angle in radian.

Remarks

There is no normalization to ensure that the resulting angle is between 0 and #PI*2. If the input was larger than 360 then the result will be larger than #PI*2. Likewise, a negative input will result in a negative output.

The reverse transformation can be made with the Degree() function. This function can handle float and double values.

示例

  Debug Radian(90) ; will display #PI/2

参阅

Degree()

已支持操作系统

所有

<- Pow() - Math Index - Random() ->