From e86055e5407afe4bae9b342d2da60b47fc0c6fe1 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sun, 21 May 2017 21:18:34 +0200 Subject: typo --- format.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/format.go b/format.go index 4369314..b980f46 100644 --- a/format.go +++ b/format.go @@ -63,7 +63,7 @@ func (c Country) Format(v float64) string { s := strconv.FormatFloat(v, 'f', -1, 64) neg := strings.HasPrefix(s, Neg) if neg { - s = s[1:] // stip neg + s = s[1:] // strip neg } // add extra dot for there will be at least 2 parts parts := strings.Split(s+FullStop, FullStop) -- cgit v1.2.3