Returns the ratio of two
xs:dayTimeDuration values, as a decimal
The function returns the result of dividing the value of
$arg2. The result is the
xs:dayTimeDuration whose length in
seconds is equal to the length in seconds of
$arg1 divided by the length in
$arg2. The calculation is performed by applying
op:numeric-divide to the two
For handling of overflow and underflow, see .
This examples shows how to determine the number of seconds in a duration.
Either operand (and therefore the result) may be negative.