This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 29864 - [FO31] Incorrect example of format-number() with exponent separator
Summary: [FO31] Incorrect example of format-number() with exponent separator
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 3.1 (show other bugs)
Version: Candidate Recommendation
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-23 07:47 UTC by Michael Kay
Modified: 2016-12-16 19:55 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2016-09-23 07:47:23 UTC
The spec has this example of format-number()

The expression format-number(1234.5678, '00.000E0') returns "12.345E2".

I believe the correct result is "12.346E2".
Comment 1 Michael Kay 2016-09-23 07:47:46 UTC
(Fixed in the source, but leaving open for others to review)