Link to home
Start Free TrialLog in
Avatar of dennis231
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.



= intval ($total)+( intval (MOD($total,1)/0.3))+(SUM(MOD($total,1))-( intval (MOD($total ,1)/0.3))*0.3)

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Terry Woods
Terry Woods
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial