diff options
author | Sam Smith <sams96@mail.com> | 2020-04-01 23:13:23 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-06-02 17:20:36 +0200 |
commit | 3d9235e8fcf31553c0c0f313d3264f12438749ea (patch) | |
tree | d7cd000a5dd9fbe966b3cbc44434426ba4c27bf9 /hugolib | |
parent | f7d909f3948ca3d1318e5b0d6c80d905fc37aea2 (diff) |
tpl: Fix bad rounding in NumFmt
strconv.FormatFloat doesn't round properly sometimes, this adds a
different method of rounding, fixes #7116
Diffstat (limited to 'hugolib')
0 files changed, 0 insertions, 0 deletions