Details

    • Type: Bug
    • Status: Resolved
    • Priority: Default
    • Resolution: Fixed
    • Affects Version/s: 0.9.6
    • Fix Version/s: 0.9.7
    • Component/s: Message Object Model
    • Labels:
      None

      Description

      While the mantissa and exponent are maintained to full precision in transfer encoding, this precision is lost on the receiver when a DecimalValue is converted to a BigDecimal via a double:

      public BigDecimal toBigDecimal()

      { return new BigDecimal(value); }

      I believe this needs to be changed to:

      public BigDecimal toBigDecimal()

      { return BigDecimal.valueOf(mantissa, -exponent); }

        Attachments

          Activity

            People

            • Assignee:
              jacob_northey Jacob Northey
              Reporter:
              beilbyj James Beilby
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: