Temporary fix for rounding issues, and tests for formatCurrency.