I'm working on an accounting app. I have a transaction table where one of the fields is the transaction amount (type Double 10/2).
Is it better to store transaction amounts as negative numbers for transactions that decrease the account's balance or store them all as positive numbers and then convert them to negative numbers based on a transaction type (deposit, withdrawal, credit, charge, etc.) for calculations?
Thanks
Brett