
October 7th, 2012, 10:35 PM
|
|
Contributing User
|
|
Join Date: Sep 2012
Posts: 112
  
Time spent in forums: 14 h 27 m 57 sec
Reputation Power: 5
|
|
|
Calculation question
How would you correctly express this?
PHP Code:
if ($hours > 40)
{
((($hours * $wages) + (($hours - 40) * $wages * 1.5)) = $bonus_amt);
}
else
{
(($hours * $wages) = $weekly_pay);
}
I am trying to apply the calculation = $bonus_amt and $weekly_pay but I know this is not correct.
|