dennis231
asked on
Rewrite excel formula to a php statement
Hi,
I am trying to write a php statement which come from a excel formula.
I was trying to figure out how to do the MOD in php, but I didn't know how to do it correctly. Thanks for your help.
I am trying to write a php statement which come from a excel formula.
I was trying to figure out how to do the MOD in php, but I didn't know how to do it correctly. Thanks for your help.
= intval ($total)+( intval (MOD($total,1)/0.3))+(SUM(MOD($total,1))-( intval (MOD($total ,1)/0.3))*0.3)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://jp2.php.net/manual/en/language.operators.arithmetic.php