W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2004

Re: [F&O] XSCH-FO-005 Casting xs:double and xs:float to xs:string

From: Xan Gregg <xan.gregg@jmp.com>
Date: Sun, 27 Jun 2004 20:27:23 -0400
Message-Id: <ECDE4FEE-C899-11D8-A547-000A95A7F890@jmp.com>
To: public-qt-comments@w3.org

The XML Schema WG is satisfied with the resolution of this issue.

The original issue was not just about float/double-to-string but also  
implicitly about float/double-to-decimal, since float/double-to-string  
was then defined in terms of decimal.  We understand F&O has undergone  
substantial changes in this area and offer a reminder that the   
conversion from float/double to decimal may need similar treatment.

Thank you.

Xan Gregg, on behalf of the XML Schema WG

> In your note  
> http://lists.w3.org/Archives/Public/public-qt-comments/2004Feb/ 
> 0357.html
> you recommended that the rules for casting xs:float and xs:double to  
> xs:string use the XML Schema
> canonical forms for these datatypes.
>
> The Schema WG decided on these canonical forms in Cannes and the QT  
> WGs adopted them with one exception: numbers
> between 0.000001 (one millionth) and less than 1000000 (one million)  
> are converted using decimal notation instead of scientific notation.
>
> All the best, Ashok
Received on Sunday, 27 June 2004 20:27:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:34 GMT