diff options
author | xuri <xuri.me@gmail.com> | 2022-10-12 00:06:09 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2022-10-12 00:06:09 +0800 |
commit | 0e657c887bf505d62ce3bf685c518cd0ed7bc558 (patch) | |
tree | d0dce47211b4375430795a9d1d4abba5735b4359 /lib.go | |
parent | c02346bafc6e098406f32ee0a183d45f3038c619 (diff) |
This closes #1368, fixes number parsing issue, adds support for create a 3D line chart
Diffstat (limited to 'lib.go')
-rw-r--r-- | lib.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -688,6 +688,9 @@ func (f *File) addSheetNameSpace(sheet string, ns xml.Attr) { // isNumeric determines whether an expression is a valid numeric type and get // the precision for the numeric. func isNumeric(s string) (bool, int, float64) { + if strings.Contains(s, "_") { + return false, 0, 0 + } var decimal big.Float _, ok := decimal.SetString(s) if !ok { |