Skip to content

Commit

Permalink
Merge pull request #35 from saebs/Add-ISO-code-for-zwl
Browse files Browse the repository at this point in the history
Add ISO code for Zimbabwe Dollar
  • Loading branch information
varunsrin authored Jul 28, 2020
2 parents 1cd151e + 56da742 commit 56d234f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/currency/iso.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ define_enum!(Iso {
ZAR,
ZMK,
ZMW,
ZWL,
});

impl fmt::Display for Iso {
Expand Down Expand Up @@ -1891,6 +1892,16 @@ pub fn from_enum(code: &Iso) -> Currency {
symbol: "K",
symbol_first: true,
},
ZWL => Currency {
exponent: 2,
iso_alpha_code: "ZWL",
iso_numeric_code: "932",
locale: EnUs,
minor_denomination: 1,
name: "Zimbabwe Dollar",
symbol: "Z$",
symbol_first: true,
},
}
}

Expand Down

0 comments on commit 56d234f

Please sign in to comment.