XML Script logo
Function _OP_DIV
Name

_OP_DIV

Returns

number

Parameter count

2

Parameter 1

operand1, a number

Parameter 2

operand2, a number

Description

Returns the result of integer division of 'operand1' by 'operand2'.
Both operands are converted to 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