Forums Index > Mewsoft Products > Auctionawy > Sales Tax Problem
ajewel2009 First Post Posted on: 03-27-13 12:26 AM
Sales Tax Problem

Hello, I have a slight problem, at least I hope its only slight. When I enter in the sales tax it rounds off I need to change this. The sales Tax where I am is 8.875% but when I enter this in the program it rounds off to 8.88% What do I need to do to change this. Thanks in advance for any help you can provide.


www.bidezauctions.net
mewsoft Reply #: 1 Posted on: 03-27-13 07:30 AM
Re: Sales Tax Problem

Most decimals are rounded in the display only for 2 digits which is almost enough for everyone needs.

However if you want to change this, you can by editing the cgi files:

Sell.pm, PreviewItme.pm, search for the line number 397 in sell.pm and line number 376 in PreviewItme.pm

which says:


Code: Perl
$Temp = &Format_Digits(sprintf("%.2f"$Param{SalesTax}));


change the value 2 to 3 or any number of decimals you want.

Please download and upload the files in ASCII mode or edit it from your cPanel if you have it.

Thanks


Mewsoft Support
www.mewsoft.com

ajewel2009 Reply #: 2 Posted on: 03-27-13 08:55 AM
Re: Sales Tax Problem

I changed the code like you said but when I enter 8.875 it still keeps changing to 8.88 any suggestions.


www.bidezauctions.net
mewsoft Reply #: 3 Posted on: 03-27-13 10:17 AM
Re: Sales Tax Problem

If you mean on the view auction page, you will need also to edit the cgi file ParseItem.pm the same line of code, lines 202, 215. Thank you

Mewsoft Support
www.mewsoft.com

ajewel2009 Reply #: 4 Posted on: 03-27-13 11:02 AM
Re: Sales Tax Problem

Thanks, that did the trick. You were a great help. Smile

www.bidezauctions.net