I have an example at http://eu.knowsleycollege.ac.uk/test/balancesheet.htm
which is probably best you look at to help me with this question.
at the moment, i have 2 sets of sums happening, total assets and total liabilities, with this piece of code working the sums.
var stock= parseFloat(document.autosu
if(isNaN(stock)) stock= 0;
var debtors= parseFloat(document.autosu
if(isNaN(debtors)) debtors= 0;
var cash= parseFloat(document.autosu
if(isNaN(cash)) cash= 0;
ue = stock+ debtors+ cash;
Now what i need, is to be able to add the 2 totals together with another field to make another total. for instance:
Current Assets - Current liabilities = Net Current Assets.
This is one major equation for me to be able to move on, as after this i will need the following,
Fixed Assets + Net assets - Long term Liabilities = total
But in this equation, i need Fixed assets to be a number that people can enter, same with long term liabilities but net current assets will have already been worked out. i have tried this in a few different ways based on the code example above, but i have had no joy.
IS THIS POSSIBLE? i would appreciate any help you can give me!
ps i currently only have 155 points left, but will be purchasing more. so i will add points as soon as i have got them