W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2005

[Bug 1794] New: Casting float/double to string

From: <bugzilla@wiggum.w3.org>
Date: Thu, 21 Jul 2005 17:21:09 +0000
To: public-qt-comments@w3.org
Message-Id: <E1DvejN-0003pl-Bt@wiggum.w3.org>


           Summary: Casting float/double to string
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators
        AssignedTo: ashok.malhotra@oracle.com
        ReportedBy: mrys@microsoft.com
         QAContact: public-qt-comments@w3.org

Since casting from float/double to string is also used in serialization, we 
need to make sure that if I have a a double value that due to the binary to 
decimal conversion will result in a number such as 0.99999999998 instead of 

Since users do not want 0.9999999998 in their serialization output, we should 
allow implementations to do the usual rounding.
Received on Thursday, 21 July 2005 17:21:13 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:25 UTC