From 01f31745bc50de7c4cd9b7cca01c52bcf257705b Mon Sep 17 00:00:00 2001 From: Dzmitry Kasenka <99190728+dkasenka@users.noreply.github.com> Date: Wed, 7 Jun 2023 14:44:49 +0200 Subject: [PATCH] Add ZWL currency https://github.com/Rhymond/go-money/issues/131 (#132) --- constants.go | 1 + currency.go | 1 + 2 files changed, 2 insertions(+) diff --git a/constants.go b/constants.go index 635d59a..b3e5002 100644 --- a/constants.go +++ b/constants.go @@ -173,4 +173,5 @@ const ( ZAR = "ZAR" ZMW = "ZMW" ZWD = "ZWD" + ZWL = "ZWL" ) diff --git a/currency.go b/currency.go index 2468bc0..d61bd7a 100644 --- a/currency.go +++ b/currency.go @@ -217,6 +217,7 @@ var currencies = Currencies{ ZAR: {Decimal: ".", Thousand: ",", Code: ZAR, Fraction: 2, NumericCode: "710", Grapheme: "R", Template: "$1"}, ZMW: {Decimal: ".", Thousand: ",", Code: ZMW, Fraction: 2, NumericCode: "967", Grapheme: "ZK", Template: "$1"}, ZWD: {Decimal: ".", Thousand: ",", Code: ZWD, Fraction: 2, NumericCode: "932", Grapheme: "Z$", Template: "$1"}, + ZWL: {Decimal: ".", Thousand: ",", Code: ZWD, Fraction: 2, NumericCode: "932", Grapheme: "Z$", Template: "$1"}, } // AddCurrency lets you insert or update currency in currencies list.