Radian()

Syntax

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

Parameters

Angle.f or Angle.d The input angle in degree.

Return value

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 handles and returns float or double values.

Example

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

See Also

Degree()

Supported OS

All

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