Investigate php currency library
We have a lot of money handling in our code. Our functions are a bit meh. We still seem to hit issues on money calculations that there are libraries to handle....
Both seem to rely on php intl extension for formatting currencies - is that a blocker? or is it common, esp on non US sites.
See #47 for js issue on the same