Function Reference


_Degree

Converts radians to degrees

#include <Math.au3>
_Degree ( $iRadians )

Parameters

$iRadians Radians to be converted into degrees.

Return Value

Success: Degrees converted from radians.
Failure: 0 and sets @error to non-zero.

Remarks

Can be used in conjunction with the Sin(), Cos(), and Tan() functions.

Related

_Radian

Example

#include <Math.au3>
#include <MsgBoxConstants.au3>

Local $fRadians = 3.14159265358979
Local $fDegrees = _Degree($fRadians)

MsgBox($MB_SYSTEMMODAL, "Radians to Degrees", $fRadians & " radians = " & $fDegrees & " degrees")