RadToDeg

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > Math > Trigonometric function >

RadToDeg

 

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