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

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

From: Ashok Malhotra <ashokmalhotra@alum.mit.edu>
Date: Thu, 27 May 2004 17:53:24 -0400 (EDT)
Message-ID: <3283299.1085694804515.JavaMail.jeff@brunch.mit.edu>
To: Xan Gregg <xan.gregg@jmp.com>
Cc: public-qt-comments@w3.org, w3c-xml-schema-ig@w3.org

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 Thursday, 27 May 2004 17:56:14 GMT

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