From d0eba05c37597dc235b2956458a453a5ba83402c Mon Sep 17 00:00:00 2001 From: Ferdy Pruis Date: Mon, 2 Jan 2023 12:46:01 +0100 Subject: [PATCH] Preserve currency exponent for now deprecated HRK --- data.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data.go b/data.go index dfb170f..0dfc69f 100644 --- a/data.go +++ b/data.go @@ -434,7 +434,7 @@ var currencies = [...]struct { HKD: {alpha: "HKD", numeric: "344", exponent: 2, name: "Hong Kong Dollar"}, HNL: {alpha: "HNL", numeric: "340", exponent: 2, name: "Lempira"}, HRD: {alpha: "HRD", numeric: "191", exponent: 0, name: "Croatian Dinar"}, - HRK: {alpha: "HRK", numeric: "191", exponent: 0, name: "Kuna"}, + HRK: {alpha: "HRK", numeric: "191", exponent: 2, name: "Kuna"}, HTG: {alpha: "HTG", numeric: "332", exponent: 2, name: "Gourde"}, HUF: {alpha: "HUF", numeric: "348", exponent: 2, name: "Forint"}, IDR: {alpha: "IDR", numeric: "360", exponent: 2, name: "Rupiah"},