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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 6
    • Affects Version/s: 5.0
    • Component/s: 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

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: