DegToRad

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > Math > Trigonometric function >

DegToRad

 

Description

 

Returns the value of a degree measurement expressed in radians.

 

Syntax

 

n = DegToRad(nDegValue)

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

nDegValue

Number

No

Any numerical expression

 

Remarks

 

Use DegToRad to convert angles expressed in degrees to the corresponding value in radians.

DegToRad uses the formula:

 

Radians = Degrees * PI / 180

 

Restrictions

 

See also

 

Examples