Jump to content

Please help writing small php calculator for my website


Recommended Posts

Hello People.


I would like to build a small calculator in php for my website.


Basically what it does is give a form to the user that looks like this



The formula is as follows.







then take result1





now take 60,000





Take result3 and make it a number with only 2 decimal places



Then display the result on the form like this


Your warranty would be "result4" years


I know that there are some really good coders on here.  Please could one of you talented people tell me what is the php to do the above on my site?

Link to comment
Share on other sites

This topic is now closed to further replies.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.