Added an option to format the animated number as currency, added handling for browser differences in 0s in decimal places