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

DoubleType incorrectly prints scientific notation

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 2.3.1
    • Fix Version/s: Invalid
    • Component/s: Aegis Databinding
    • Labels:
      None
    • Environment:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: