|
Previous Top Next |
| Description
|
|
|
| This routine will perform "floating point" arithmetic on Variable1 and Variable2 depending upon the value passed in OpType.
|
| Syntax
|
| NC.FPMATH (OpType, Variable1, Variable2, Return)
|
|
|
| OpType values can be:
|
|
| XCMP returns the following:
|
|
|
| · | Variable1 < Variable 2 returns -1
|
| · | Variable1 = Variable 2 returns 0
|
| · | Variable 2 > Variable 1 returns 1
|
|
|
| The result is returned in the variable Return.
|