mathLib.exp

The system function mathLib.exp returns e raised to the power of a number.


mathLib.exp syntax diagram

result

Any numeric or HEX item, as described in Mathematical (system words). The value returned by mathLib.exp 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 mathLib.exp is called.

Example

  result = mathLib.exp(myItem);

Related reference
Mathematical (system words)