codinguser/gnucash-android — pull request #149 by jesseshieh (2014-03-05 19:59:00+00:00)
Title: Double-entry accounting positive and negative debits and credits

In double-entry accounting, all transactions should have a double-entry. If the transaction is a credit, then the double-entry is a debit and vice versa. Also, the transaction amount is positive or negative depending on if the account the transaction is in is a debit account or a credit account. Example: If you create a salary transaction in the income account, that should be a credit which is a positive number. If the double-entry account is the checking account, that is a debit account so it's entry should also be a positive number.