deg2rad

 

Description

Radian and degree conversion functions: convert degree to radian

Syntax

double deg2rad( double d )

Parameters

d
[input] The degree that will be converted

Return

The radian of d

Examples

EX1

void deg2rad_ex1()
{
    double dDegree = 90;
    double dRadian = deg2rad(dDegree);
    out_double("The corredponed radian is : ", dRadian);
}

Remark

See Also

rad2deg

header to Include

origin.h

Reference