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

java.math.BigDecimal(String) fails if gets long exponent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 5.0
    • core-libs
    • None
    • b35
    • generic
    • generic

        java.math.BigDecimal(String) fails if gets long exponent, for example:
        new BigDecimal("1.2e00000000000000000000000000001");
        throws NumberFormatException.

        ###@###.### 2005-04-14 13:57:06 GMT

              darcy Joe Darcy
              ydanilev Yury Danilevich (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: