cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Osborn (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-3263) DoubleType incorrectly prints scientific notation
Date Fri, 21 Jan 2011 02:57:43 GMT
DoubleType incorrectly prints scientific notation
-------------------------------------------------

                 Key: CXF-3263
                 URL: https://issues.apache.org/jira/browse/CXF-3263
             Project: CXF
          Issue Type: Bug
          Components: Aegis Databinding
    Affects Versions: 2.3.1
         Environment: all
            Reporter: Jon Osborn


This issue is directly related to BigDecimalType issue:
https://issues.apache.org/jira/browse/CXF-2847

The DoubleType calls Double.toString() which uses scientific notation if the value is outside
a particular range:

http://download.oracle.com/javase/6/docs/api/java/lang/Double.html#toString(double)

This is incorrect. The double type should only include negative sign, period, and numbers
per the specification.





-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message