Page 1 of 1

### QuickForm3 calculations problem

Posted: Tue Jun 04, 2019 10:34 pm
Hello,
I am using QuickForms3 to create a calculator that will display heating costs. The link to the page (site still under development) is here: https://new.patioeg.com/index.php/calcu ... hroom-test

As you can see there are errors being shown. The required calculations are:
Total cost per hour=((Total BTU/1000000)*46)*(Cost of tank/15)
Total weekly cost=Total cost per hour*Hours per week
Total Yearly cost=Total weekly cost*Weeks per year

The equation I have put into multipl tab is:
5.0={5.7}+{5.8}+{5.9}+{5.10}+{5.11};
5.20=(({5.0}/1000000)*46)*({5.12}/15);
5.15={5.20}*{5.13};
5.16={5.15}{5.14}

The Total BTU {5.0} is being calculated, but then it is not pulling that total over into the next calculation {5.20}.

For the user input fields of Tank Cost{5.12}, Hours{5.13}, and Weeks{5.14} the "math" value is set to V.

Any help would be greatly appreciated. Thanks very much.

### Re: QuickForm3 calculations problem

Posted: Sun Jun 09, 2019 11:01 am
Hopefully you got this figured out, likely not a lot of people here are familiar with the extension. I can't help but think php would be a better way to calculate that using variables you can pass to the next set of variables. You should check and see if they have a forum.