[Bug 28845] fn:format-number, formatting rules for exponential notation

https://www.w3.org/Bugs/Public/show_bug.cgi?id=28845

Tim Mills <tim@cbcl.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #17 from Tim Mills <tim@cbcl.co.uk> ---
Sorry to reopen this, but I believe that under the new rules, the query

format-number(0, '.#')

which has

minimum-integer-part-size = 0
minimum-fractional-part-size = 0
maximum-fractional-part-size = 1

results in the empty string.

My intuition was that the following results would follow:

format-number(0,   '.#') -> .0
format-number(0.1, '.#') -> .1
format-number(1,   '.#') -> 1
format-number(1.1, '.#') -> 1.1

but I think my intuition might not be correct.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 8 October 2015 15:46:51 UTC