Skip to content

Commit

Permalink
fix: COP 170 minor units
Browse files Browse the repository at this point in the history
COP 170 should have minor units of 2, not 0
https://www.iso.org/iso-4217-currency-codes.html
  • Loading branch information
jkidd13 committed Aug 1, 2023
1 parent 9af670b commit 9be77cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion currencies.go
Original file line number Diff line number Diff line change
Expand Up @@ -1346,7 +1346,7 @@ func (c CurrencyCode) Digits() int { //nolint:gocyclo
case CurrencyCNY:
return 2
case CurrencyCOP:
return 0
return 2
case CurrencyCOU:
return 2
case CurrencyKMF:
Expand Down

0 comments on commit 9be77cb

Please sign in to comment.