From Dev.to
Your amount helper assumes every currency has two decimals
Found this when a merchant selling in Japan reported that orders cost 100x too much. Most cards were declined on amount. The few that passed were charged ¥100,000 for a ¥1,000 item. Our amount helper...
