mathLib.atan

The system function mathLib.atan returns the arctangent of a number. The result is in radians and is in the range of -pi/2 and pi/2.


sysLib.atan syntax diagram

result

Any numeric or HEX item, as described in Mathematical (system words). The value returned by mathLib.atan is converted to the format of result.

numericItem

Any numeric or HEX item, as described in Mathematical (system words). The item is converted to double-precision floating point before mathLib.atan is called.

Example

  result = mathLib.atan(myItem);

Related reference
Mathematical (system words)