Would like to use a script to input Math functions...
Hello everyone, anyone...
I have a math formula that I need to test with different variables. I need to test it 100 times with each variable, and I have 3 variables.
what I would like is something (php?) where it asks me for the 3 variables in a text box, then when I hit the submit button, it enters the numbers I have input and runs the calculation, and displays the result.
The formula is this:
Math.floor(
((B * 2) + Math.ceiling(H/4) * L)/100 +5 )
Now, perhaps my write out is wrong (never was good at order of operations, LOL
I need B multiplied by 2 first, then H divided by 4 (rounded up) then those 2 added together, that total multiplied by L, that total divided by 100 and finally that total added to 5, with the whole thing rounded down.
Anyone can help with this?
Thanks a TON!
BLiZZ