From ebc9f4f17e35084fd27746373de8233cc0b0aed1 Mon Sep 17 00:00:00 2001 From: Felix Limberger Date: Wed, 16 Aug 2023 14:56:48 +0200 Subject: [PATCH] "Fixed" wrong interpretation of number value --- col.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/col.go b/col.go index 8636566..8a18e4b 100644 --- a/col.go +++ b/col.go @@ -168,10 +168,10 @@ type NumberCol struct { } func (c *NumberCol) String(wb *WorkBook) []string { - if fNo := wb.Xfs[c.Index].formatNo(); fNo != 0 { +/* if fNo := wb.Xfs[c.Index].formatNo(); fNo != 0 { t := timeFromExcelTime(c.Float, wb.dateMode == 1) return []string{yymmdd.Format(t, wb.Formats[fNo].str)} - } + }*/ return []string{strconv.FormatFloat(c.Float, 'f', -1, 64)} }