rad2deg

 

Description

Radian and degree conversion functions: convert radian to degree

Syntax

double rad2deg( double r )

Parameters

r
[input] The radian that will be converted

Return

The degree of the radian

Examples

EX1

void rad2deg_ex1()
{
        double dRadian = 3.1415926;
        double dDegree = rad2deg(dRadian);
        out_double("The corredponed degree is : ", dDegree);
}

Remark

See Also

deg2rad

header to Include

origin.h

Reference