(06-08-2015, 10:27 AM)daveparrish Wrote: Hi All
I am new to weberp I am having issues with the Tax Authorities rates are rounding off I have some Tax Authorities that need to have a rate of 3.788 when I do it rounds to 3.79 is there a way I can change this.
Thanks
Hi Dave, that rate is stored in however many decimal places you enter it in, so it will be stored in the db as 0.03788 and the calculations will use that. To show more decimal places amend line 105 of TaxAuthorityRates.php from
locale_number_format($myrow['taxrate']*100,2));
to
locale_number_format($myrow['taxrate']*100,3));
or change the 3 to however many decimal places you need to show. You might want to expand the size of the input box in line 97 as well.
Thanks
Tim