Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-3263

DoubleType incorrectly prints scientific notation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.3.1
    • Invalid
    • Aegis Databinding
    • None
    • all

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jonnio Jon Osborn
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: