Public Function ATan2( _
ByVal vX As Variant _
, ByVal vY As Variant _
) As Variant ATan2( 0, -1) = 0
ATan2(-1, -1) = -2.35619449019234
ATan2(-1, 0) = -1.5707963267949
ATan2(-1, 1) = -0.785398163397448
ATan2( 0, 1) = 0
ATan2( 1, 1) = 0.785398163397448
ATan2( 1, 0) = 1.5707963267949
ATan2( 1, -1) = 2.35619449019234See also: ATan Function
ACot2 FunctionvX: The X-coordinate of the point whose angle from the origin is to be returned. Function returns Null if vX is Null or cannot be fixed up to a number. vY: The Y-coordinate of the point whose angle from the origin is to be returned. Function returns Null if vY is Null or cannot be fixed up to a number.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.