Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-4623

BigDecimal.stripTrailingZero fails for 0.0000

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • Classlib
    • None
    • Novice

    Description

      BigDecimal.stripTrailingZero fails for "0.0000" (leaves it unstriped). This behaviour occurs in the RI as well, however from the specification it seems this behaviour is incorrect. Will attach test case.

      Attachments

        1. BigDecimalTest.java.patch
          1 kB
          Imran Ghory

        Activity

          People

            paulex Paulex Yang
            imranghory Imran Ghory
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: