Answered my own question... rounding using the "round" function to two decimal places did the trick:
<? $contract_amount = 9961.00; $bill1 = .95; $bill2 = .05; $billable_this_month += ($contract_amount * $bill1); $paid_to_date += ($contract_amount * $bill2); $paid_to_date = round($paid_to_date,2); $billable_this_month = round($billable_this_month,2); $contract_amount = round($contract_amount,2); echo "conditional: if(($paid_to_date + $billable_this_month) >= $contract_amount)\n<br>\n"; if(($paid_to_date + $billable_this_month) >= $contract_amount) { echo "true"; } else { echo "false"; } ?> now outputs "true". :-) -- ------------------------- Marc Swanson MSwanson Consulting Phone: (603)868-1721 Fax: (603)868-1730 Mobile: (603)512-1267 [EMAIL PROTECTED] http://www.mswanson.com ------------------------- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]