Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4984872

(jsr 13) BigDecimal needs toString method without exponents

XMLWordPrintable

    • b40
    • generic
    • generic

      In 1.4.x and earlier releases, the BigDecimal toString method did not use scientific notation. The scale of a fractional value was a function of the number of leading zeros. With jsr 13 and the introduction of scales of both signs, the use of scientific notation is necessary for the toString method to preserve both numerical value and representation information. However, there remains a need to generated old-style strings; e.g. interfacing with data bases.

            darcy Joe Darcy
            darcy Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: