From 187684cdb5fc801b655d77d39addfd7119610d1a Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Mon, 23 Mar 2015 12:35:42 +0100 Subject: Add some error reporting --- format.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'format.go') diff --git a/format.go b/format.go index 5a554eb..48ffcfd 100644 --- a/format.go +++ b/format.go @@ -26,7 +26,7 @@ func (f F) String() string { pre = "¯" f = -f } - return fmt.Sprint(pre, int64(f)) + return fmt.Sprint(pre, float64(f)) } func (c C) String() string { -- cgit v1.2.3