Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-33713

BigDecimal divide can result in ArithmeticException: Non-terminating decimal expansion

    XMLWordPrintable

    Details

    • 12 status:
      Resolved
    • 11 status:
      Resolved
    • Test Plan:
      Hide

      Please add a Test Plan here.

      Show
      Please add a Test Plan here.

      Description

      Example:

       

      org.sakaiproject.gradebookng.business.GradebookNgBusinessService - An error occurred updating the assignment
      java.lang.ArithmeticException: Non-terminating decimal expansion; no exact representable decimal result.
      at java.math.BigDecimal.divide(BigDecimal.java:1690)
      at

       

       

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                • Assignee:
                  jonespm Matthew Jones
                  Reporter:
                  ottenhoff Sam Ottenhoff
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Integration