Navigation bar
  Start Previous page
 30 of 283 
Next page End 25 26 27 28 29 30 31 32 33 34 35  

21
Atn
Type
Function returning Single
Invocation
Atn(arg)
Parameter
Method
Type
Description
arg
ByVal
Single
The value from which the arc tangent will be computed.
Discussion
The arc tangent function is the inverse of the tangent function.  The return value will be the angle,
expressed in radians, whose tangent corresponds to the passed value.  The return value will be of type
Single and the value will range from - p/2 to p/2.
Example
Dim val as Single, theta as Single
val = 0.5
theta = Atn(val)  ' result is approximately 0.4636
See Also
Previous page Top Next page