Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.6.13, 4.7.2
-
Fix Version/s: Unscheduled
-
Component/s: CiviContribute
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Needs Funding
Description
Number precision or rounding causes the displayed tax exclusive amount to be out by 1c. Trying to have the Event fee of $115 tax inc. results in CiviCRM displaying $114.99 tax inc. as fee.
Steps to reproduce:
1. Set up a Tax rate of 10% (GST)
2. Create an Event and set the price to be 104.54 ex. tax.
3. The required tax inclusive amount i $115.
4. CiviCRM will then display the Event fee as $114.99
However, if you calculate this it should be:
1. Tax exclusive amount, 104.5454545455
2. 10% tax amount, 10.4545454545
2. Tax inclusive amount, 115
It seems a simple solution of either rounding up to the nearest 0.5c would solve the issue. Australia has done away with 1c, 2c and I expect the 5c is going that way too!
Agileware Reference #24197
Attachments
Issue Links
- supplements
-
CRM-19585 Sales tax issues
- Done/Fixed