diff options
author | Dimitri Sokolyuk <demon@dim13.org> | 2015-05-19 13:51:17 +0200 |
---|---|---|
committer | Dimitri Sokolyuk <demon@dim13.org> | 2015-05-19 13:51:17 +0200 |
commit | 9b2b5ec2c339805b3604c41a48cedf3db4fcf868 (patch) | |
tree | ed223326b8c38ea731d3445788ec2ee7ae1f878d /units.go | |
parent | be6484b1e9e0d14cdb1523f5771921d637a1bb50 (diff) |
Bump precision to 3 decimal points
Diffstat (limited to 'units.go')
-rw-r--r-- | units.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,7 +19,7 @@ func (u Unit) String() string { if u == Unit(int(u)) { return fmt.Sprint(int(u)) } else { - return fmt.Sprintf("%.2f", u) + return fmt.Sprintf("%.3f", u) } } |