mathLib.tan

The system function mathLib.tan returns the tangent of a number.


mathLib.tan syntax diagram

result

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

numericItem

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

Example

  result = mathLib.tan(myItem);

Related reference
Mathematical (system words)