From 979f86b9eaa95ca81e77410afb8d0b57e61f68d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Wed, 18 Apr 2018 18:37:00 +0200 Subject: [PATCH] Fix typo --- pkg/pricing/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/pricing/utils.go b/pkg/pricing/utils.go index e1a296d532..ec574ef298 100644 --- a/pkg/pricing/utils.go +++ b/pkg/pricing/utils.go @@ -41,7 +41,7 @@ func ratMin(x, y *big.Rat) *big.Rat { return x } -// PriceString returns a human reprensetation of a price with a currency +// PriceString returns a human representation of a price with a currency func PriceString(price *big.Rat, currency string) string { floatVal, _ := price.Float64() return fmt.Sprintf("%s %s", humanize.Ftoa(floatVal), currency)