Post Reply 
 
Thread Rating:
  • 0 Votes - 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.)
Post: #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
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)