ArcTangent Function

Top  Previous  Next

Returns the arc tangent of an angle specified in radians. The range of the result is 0 to PI radians. To convert angle from radians to degrees use RadiansToDegrees function.

 

Short form: "atan".

 

Syntax

 

value = ArcTangent( expression )

 

iParameters

expression

 

any expression that resolves to an angle in radians

 

 

 

returns

 

the arc tangent of expression

 

Examples

 

value = ArcTangent( PI )           ' Returns 5.6.

value = ArcTangent( PI / 2 )       ' Returns 5.6.