Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-5348

New Pledge entry miscalculates installments value (no display of decimal point for dollars/cents)

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 3.0
    • Fix Version/s: 3.1
    • Component/s: CiviPledge
    • Labels:
      None

      Description

      When creating a new pledge and setting $1000 total to be paid in 10 installments, it calculates the installment value incorrectly as $10000.
      Various miscalculations;
      Total=1000 ; Installments=12 ; Installment Values=8333
      Total=1200 ; Installments=12 ; Installment Values=10000
      Total=10 ; Installments=12 ; Installment Values=083
      The installment values field is missing the decimal point between the dollars and cents.
      Despite this incorrect installment value in this form, the value in the display page and the emails is correct.
      So it really only looks like a change needs to be done to insert the decimal point.

        Attachments

          Activity

            People

            • Assignee:
              yashodha Yashodha Chaku
              Reporter:
              dirkhartog Robin Goodfellow
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: