Added backup files to .gitignore.
Fixed bug in formatCurrency that would format "44.0" as "44.", which produced an error on the server when trying to parse the value.  Added test for this case.
Added "by pair" versions of truncateAmount and formatCurrency.