Obtain the quotient of a division. Unlike multiplication, this operation should always include two operands: the dividend and the divisor.

1 eval.div

<eval.div>
    <dividendo /> !
    <divisor /> !
</eval.div>

Exceptions

at least 2 arguments required

illegal operator

illegal object types

Example
Copy
<xsql-script name='div_sample1'>
    <body>
        <set name='a' type='integer' value='4' />
        <println><div><a/>3</div></println>
    </body>
</xsql-script>

Returns:

Copy
1