diff options
author | xuri <xuri.me@gmail.com> | 2022-03-18 00:52:10 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2022-03-18 00:52:10 +0800 |
commit | 14b461420fc3d3b06b01d7b0584b422b3e1b40fb (patch) | |
tree | 5a51208181c9ec1042e0610a533cd3b6332171a9 /rows.go | |
parent | 1da129a3df144d69cfc67f05a4dec88063a774e8 (diff) |
This fix scientific notation and page setup fields parsing issue
Diffstat (limited to 'rows.go')
-rw-r--r-- | rows.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -471,7 +471,7 @@ func roundPrecision(text string, prec int) string { if _, ok := decimal.SetString(text); ok { flt, _ := decimal.Float64() if prec == -1 { - return decimal.Text('G', 15) + return strconv.FormatFloat(flt, 'G', 15, 64) } return strconv.FormatFloat(flt, 'f', -1, 64) } |