[Bug 4621] [F&O] rounding for duration *|div number

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4621





------- Comment #2 from mike@saxonica.com  2007-06-12 20:31 -------
Proposed change:

1. Change the summary of the two functions from

Summary: Returns the result of [multiplying|dividing] the value of $arg1 by
$arg2. The result is rounded to the nearest month. For a value v, 0 <= v < 0.5
rounds to 0; 0.5 <= v < 1.0 rounds to 1.

to

Summary: Returns the result of [multiplying|dividing] the value of $arg1 by
$arg2. The result is rounded to the nearest month.

2. Add immediately after the summary of each function, the paragraph:

The result is the xs:yearMonthDuration whose length in months is equal to the
result of applying the fn:round function to the value obtained by
[multiplying|dividing] the length in months of $arg1 by the value of $arg2.

Received on Tuesday, 12 June 2007 20:31:43 UTC