Radian()

Syntax

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

Parameters

Angle.f 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 can handle float and double values.

Example

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

See Also

Degree()

Supported OS

All

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