How to calculate your true account balance at the end of the month