Skip to content

Commit

Permalink
feat: add VES currency (#139)
Browse files Browse the repository at this point in the history
* feat: add VES currency

* update VEF numeric code to 937
  • Loading branch information
PabloReszczynski authored Nov 14, 2023
1 parent 11fb01e commit beeb1fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ const (
UYU = "UYU"
UZS = "UZS"
VEF = "VEF"
VES = "VES"
VND = "VND"
VUV = "VUV"
WST = "WST"
Expand Down
3 changes: 2 additions & 1 deletion currency.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,8 @@ var currencies = Currencies{
USD: {Decimal: ".", Thousand: ",", Code: USD, Fraction: 2, NumericCode: "840", Grapheme: "$", Template: "$1"},
UYU: {Decimal: ".", Thousand: ",", Code: UYU, Fraction: 2, NumericCode: "858", Grapheme: "$U", Template: "$1"},
UZS: {Decimal: ".", Thousand: ",", Code: UZS, Fraction: 2, NumericCode: "860", Grapheme: "so\u2019m", Template: "$1"},
VEF: {Decimal: ".", Thousand: ",", Code: VEF, Fraction: 2, NumericCode: "928", Grapheme: "Bs", Template: "$1"},
VEF: {Decimal: ".", Thousand: ",", Code: VEF, Fraction: 2, NumericCode: "937", Grapheme: "Bs", Template: "$1"},
VES: {Decimal: ".", Thousand: ",", Code: VES, Fraction: 2, NumericCode: "928", Grapheme: "Bs.S", Template: "$1"},
VND: {Decimal: ".", Thousand: ",", Code: VND, Fraction: 0, NumericCode: "704", Grapheme: "\u20ab", Template: "1 $"},
VUV: {Decimal: ".", Thousand: ",", Code: VUV, Fraction: 0, NumericCode: "548", Grapheme: "Vt", Template: "$1"},
WST: {Decimal: ".", Thousand: ",", Code: WST, Fraction: 2, NumericCode: "882", Grapheme: "T", Template: "1 $"},
Expand Down

0 comments on commit beeb1fa

Please sign in to comment.