CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Net amount being calculated incorrectly
Pages: [1]

Author Topic: Net amount being calculated incorrectly  (Read 213 times)

Matt-WF

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4.x.x
  • CMS version: Drupal 7
  • MySQL version: 5
  • PHP version: 3
Net amount being calculated incorrectly
August 13, 2014, 05:17:21 am
Hey folks,

I've got 2 issues that I've been able to recreate on the drupal.demo installation and one a bit of an odd one. They may not be bugs and I may just need clarification on the usage of these fields.

Steps:
Contributions > New contribution

1. Select donation (unsure if "donation" is related) and GBP as the currency
2. Enter an amount of 467.77 into the 'Total Amount' field
3. Scroll down to Additional details and enter 16.10 in the 'Fee amount' field
4. Enter 451.67 into the 'Net amount' field
5. Try to save

Error shown is "Please enter a valid monetary value for Net Amount."

Second issue:
If you repeat the steps above until step 3 and then hit Tab, Civi calculates the value for the Net amount as 451.66999999999996; rather than 451.67.

Could anyone shed any light on this?

Thanks,

Matt

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Net amount being calculated incorrectly

This forum was archived on 2017-11-26.