Tax Rounding Rules

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
jmadlin
Ensign (ENS)
Ensign (ENS)
Posts: 12
Joined: Wed Jun 30, 2004 11:30 pm

Tax Rounding Rules

Post by jmadlin » Thu May 12, 2011 9:32 am

We are at the 11th hour on a heavily customized implementation and have been given a requirement to round all prices to either .x0 or .x5. As we are using VAT rates of 20% and showing prices with this included we are seeing ex. vat prices entered as variants to the base product (which has a 0.00 price) rounded to something other than 0 or 5. We have searched the api but cannot find reference to rounding rules to ceate our own. Simple changing the variant price by a penny does not always result in a .x0 or .x5 price. Anyone have any bright ideas?

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Tax Rounding Rules

Post by jmestep » Fri May 13, 2011 3:55 am

This may not help, but try search Google on C# and rounding. I had to do some rounding on custom code once and found help, but it might not apply to your situation.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
Naveed
Rear Admiral (RADM)
Rear Admiral (RADM)
Posts: 611
Joined: Thu Apr 03, 2008 4:48 am

Re: Tax Rounding Rules

Post by Naveed » Tue May 17, 2011 4:56 am

We have three built in rounding rules, which we can specify while defining a rounding rule:

--
1. Common Method: In the common method, we round up on 5 so 0.105 becomes 0.11.
2. Round to Even: In round to even, we round to the nearest even number on 5 so 0.105 becomes 0.10 while 0.115 becomes 0.12.
3. Round Up: In always round up, we round up for any fractional value so 0.10001 becomes 0.11
--

The CommerceBuilder Api currently do not allow you to specify any other custom rule, unless you have the code to modify.

Post Reply