Check Debtors Control Has Fixed Decimal Places - Printable Version +- webERP Forum (http://www.weberp.org/forum) +-- Forum: webERP Discussion (http://www.weberp.org/forum/forumdisplay.php?fid=1) +--- Forum: Problems / Bugs? (http://www.weberp.org/forum/forumdisplay.php?fid=8) +--- Thread: Check Debtors Control Has Fixed Decimal Places (/showthread.php?tid=8312) |
Check Debtors Control Has Fixed Decimal Places - VortecCPI - 12-15-2018 Z_CheckDebtorsControl.php In a few places this script has: PHP Code: locale_number_format($Variable,2) Where it should be this: PHP Code: locale_number_format($Variable,$_SESSION['CompanyRecord']['decimalplaces']) I will check other scripts for the same... Also... I think this: PHP Code: round($glMovement,2)-round($CalcMovement,2) Should be this: PHP Code: locale_number_format($glMovement-$CalcMovement,$_SESSION['CompanyRecord']['decimalplaces'] |