12-15-2018, 05:59 AM
GLCashFlowsIndirect.php
This report is showing data for accounts balances that are tiny. Other reports are not doing this so I assume this is something specific to this report. I increased decimal places so I could see the true values:
[attachment=948] [attachment=949]
If I change this:
To this:
The accounts with $0.00 come off the report.
Is there a more elegant way we can ignore these tiny amounts? Perhaps by using $_SESSION['CompanyRecord']['decimalplaces'] to set accuracy/granularity?
This report is showing data for accounts balances that are tiny. Other reports are not doing this so I assume this is something specific to this report. I increased decimal places so I could see the true values:
[attachment=948] [attachment=949]
If I change this:
PHP Code:
if($MyRow['ActualAmount']<>0
To this:
PHP Code:
if(abs($MyRow['ActualAmount'])>0.005
The accounts with $0.00 come off the report.
Is there a more elegant way we can ignore these tiny amounts? Perhaps by using $_SESSION['CompanyRecord']['decimalplaces'] to set accuracy/granularity?