Skip to content

Commit b3e9f04

Browse files
committed
fix: COP 170 minor units
COP 170 should have minor units of 2, not 0 https://www.iso.org/iso-4217-currency-codes.html
1 parent 9af670b commit b3e9f04

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

currencies.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1346,7 +1346,7 @@ func (c CurrencyCode) Digits() int { //nolint:gocyclo
13461346
case CurrencyCNY:
13471347
return 2
13481348
case CurrencyCOP:
1349-
return 0
1349+
return 2
13501350
case CurrencyCOU:
13511351
return 2
13521352
case CurrencyKMF:

0 commit comments

Comments
 (0)