Rhymond/go-money

HUF and TWD should have Fraction: 2

patanachai opened this issue · 6 comments

This is from https://en.wikipedia.org/wiki/ISO_4217
Also, all payment providers, I deal with they use fraction of 2 instead of 0

hello @patanachai,

Could you create PR for this? It would be really helpful.

TZS should has fraction 2 instead of 0 (https://en.wikipedia.org/wiki/ISO_4217)

There are lot of currencies that stripe use and they are not included here. It would be nice if we include them here. (https://stripe.com/docs/currencies)
Also the following currencies should have the following fractions instead of 0:
COP -> fraction 2
HUF -> fraction 2
UYU -> fraction 2

Why have all this custom-baked, when there is golang.org/x/text/currency which has all this info, and has it correctly.

@karelbilek the list is far from being complete in golang.org/x/text/currency (link) isn't it ?

fixed 5943355