Fix format with infinite_precision when no cents
Merge pull request #319 from fklingler/patch-4

Fix format with infinite_precision when no cents