$result = db_query($sql, "The starting balance for account $account could not be calculated");
$row = db_fetch_row($result);
- return $row[0];
+ return round2($row[0], user_price_dec());
}
//--------------------------------------------------------------------------------
$result = db_query($sql, "Transactions for account $account could not be calculated");
$row = db_fetch_row($result);
- return (float)$row[0];
+ return round2($row[0], user_price_dec());
}
//----------------------------------------------------------------------------------------------------