XML Script logo
Function _OP_MOD
Name

_OP_MOD

Returns

number

Parameter count

2

Parameter 1

operand1, a number

Parameter 2

operand2, a number

Description

Returns the remainder of dividing 'operand1' by 'operand2'.
Both operands are converted to (floating point) numbers before division takes place.
Divide by zero causes a warning and evaluates to 0 (see op_divide function).

Examples of use

                                
                        

XML Script homepage | Documentation home | XML Script docs | Command list | Function list | X-Tract docs

X-Stream, X-Tract and XML Script are trade marks of DecisionSoft Limited
© Copyright 1998-2000 DecisionSoft Limited