aboutsummaryrefslogtreecommitdiff
path: root/format.go
diff options
context:
space:
mode:
Diffstat (limited to 'format.go')
-rw-r--r--format.go2
1 files changed, 1 insertions, 1 deletions
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 {