Atan

Top  Previous  Next

Function

Parameters

Return value

Atan

double d

double

 

Returns the angle (in radians) whose tangent is d.

 

Multiply the return value by 180 / Math.PI to convert from radians to degrees.

 

Example:

 

Atan(1) * 180 / Math.PI = 45