Soldato
Thank I got it, and I've finished being able to edit the files Your help has been great. I have just one last question, is my formulas right?
PHP:powerUsed = double.Parse(txtPower.Text); timeLeftOn = double.Parse(txtTime.Text); cost = double.Parse(txtCost.Text); co2 = double.Parse(txtCo2.Text); costperitem = (powerUsed * timeLeftOn / 1000 * cost); carbonfootprintperitem = (powerUse * co2);
as using these values I get some weird answers
PHP:Hardware PowerConsumption TimeOn CostPerHour Co2 23 Computer 172.40 9 0.15 0.36 24 Printer 506.00 24 0.15 0.36 25 Router 20.00 24 0.15 0.36 22 Server 472.00 24 0.15 0.36
Can you post all your code?