Posts: 2,536
Location: Western Maryland
|
merlin, try it by casting to (double) instead of (long). I did accidentally leave off the semicolon -- it is required -- thanks for catching that mistake.
And just to be safe, let's add some additional parentheses:
PHP Code:
$totalArrears += ((double) $query_res['Arrears_Paid'] );
__________________
—Kyrnt
|