Skip to content

Commit

Permalink
Add ISO code for Zimbabwe Dollar
Browse files Browse the repository at this point in the history
  • Loading branch information
saebs committed Jul 27, 2020
1 parent 1cd151e commit 56da742
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 56da742

Please sign in to comment.