Skip to content

Commit

Permalink
fix: display $ when the currency is USD
Browse files Browse the repository at this point in the history
  • Loading branch information
jooola committed Dec 9, 2024
1 parent adf4e9e commit 7ffdff5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/cmd/util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ func GrossPrice(price hcloud.Price) string {
switch price.Currency {
case "EUR":
currencyDisplay = "€"
case "USD":
currencyDisplay = "$"
default:
// unchanged
}
Expand Down

0 comments on commit 7ffdff5

Please sign in to comment.