getAnnualTaxableIncome(); $state_allowance = $this->getStateAllowanceAmount(); $state_dependant_allowance = $this->getStateDependantAllowanceAmount(); $income = bcsub( bcsub( $annual_income, $state_allowance ), $state_dependant_allowance ); Debug::text( 'District Annual Taxable Income: ' . $income, __FILE__, __LINE__, __METHOD__, 10 ); return $income; } function getDistrictTaxPayable() { $annual_income = $this->getDistrictAnnualTaxableIncome(); $retval = 0; if ( $annual_income > 0 ) { $rate = bcdiv( (float)$this->getUserValue3(), 100 ); $retval = bcmul( $annual_income, $rate ); } if ( $retval < 0 ) { $retval = 0; } Debug::text( 'District Annual Tax Payable: ' . $retval, __FILE__, __LINE__, __METHOD__, 10 ); return $retval; } } ?>