mathLib.floatingAssign

The system function mathLib.floatingAssign returns numericItem as a double-precision floating-point number. The function assigns the value of BIN, DECIMAL, NUM, NUMC, or PACKF items to floating-point numbers that are defined as HEX items, and vice versa.


mathLib.floatingAssign syntax diagram

result

Any numeric or HEX item, as described in Mathematical (system words). The floating-point number 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 being assigned to the result.

Example

  result = mathLib.floatingAssign(myItem);

Related reference
Mathematical (system words)