added formatMoney function

This helper method will be implemented shortly when we do some more
multi-currency work on this implementation.