Degree()

Syntax

Result.f = Degree(Angle.f)
Description
Converts the given angle from radian to degree.

Parameters

Angle.f The input angle in radian.

Return value

Returns the angle in degrees.

Remarks

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

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

Example

  Debug Degree(#PI/4) ; will display 45

See Also

Radian()

Supported OS

All

<- CosH() - Math Index - Exp() ->