From 0e657c887bf505d62ce3bf685c518cd0ed7bc558 Mon Sep 17 00:00:00 2001 From: xuri Date: Wed, 12 Oct 2022 00:06:09 +0800 Subject: This closes #1368, fixes number parsing issue, adds support for create a 3D line chart --- lib.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib.go') diff --git a/lib.go b/lib.go index 945c6f0..7f388e0 100644 --- a/lib.go +++ b/lib.go @@ -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 { -- cgit v1.2.1