Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Check Debtors Control Has Fixed Decimal Places
12-15-2018, 10:46 PM, (This post was last modified: 12-15-2018, 11:20 PM by VortecCPI.)
#1
Check Debtors Control Has Fixed Decimal Places
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'
https://www.linkedin.com/in/eclipsepaulbecker
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)