Navigation:  thinBasic Modules > Math > Trigonometric function >

RadToDeg

Previous pageReturn to chapter overviewNext page

 

Description

 

Returns the value of a radian measurement expressed in degrees.

 

Syntax

 

n = RadToDeg(nRadValue)

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

nRadValue

Number

No

Any numerical expression

 

Remarks

 

Use RadToDeg to convert angles measured in radians to degrees.

RadToDeg uses the formula:

 

degrees = Rad * 180 / PI

 

Restrictions

 

See also

 

Examples