From 9be77cbcf0429a33bdc006a40f6490de2d40a024 Mon Sep 17 00:00:00 2001 From: jkidd13 <40438924+jkidd13@users.noreply.github.com> Date: Tue, 1 Aug 2023 16:22:14 -0400 Subject: [PATCH] fix: COP 170 minor units COP 170 should have minor units of 2, not 0 https://www.iso.org/iso-4217-currency-codes.html --- currencies.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/currencies.go b/currencies.go index 218a31c..22ecdb9 100644 --- a/currencies.go +++ b/currencies.go @@ -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: