DegToRad Function

Converts degrees to radians.

Syntax
DegToRad(degrees)

Parameters

degrees
Specify the value of the degree to be converted to radians (real number value).

Return Values
A double value containing the number of radians.

See Also
Atan Function, Atan2 Function, RadToDeg Function

DegToRad Function Example

s = Cos(DegToRad(x))