20
0

Update col.go

This commit is contained in:
Ghostman 2018-04-03 16:21:05 +02:00 committed by GitHub
parent ed8580ddea
commit 03d286bb96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
col.go
View File

@ -52,7 +52,7 @@ func (xf *XfRk) String(wb *WorkBook) string {
if len(wb.Xfs) > idx { if len(wb.Xfs) > idx {
fNo := wb.Xfs[idx].formatNo() fNo := wb.Xfs[idx].formatNo()
if fNo >= 164 { // user defined format if fNo >= 164 { // user defined format
if formatter := wb.Formats[fNo]; formatter != nil { if formatter := wb.Formats[fNo]; formatter != nil && false {
i, f, isFloat := xf.Rk.number() i, f, isFloat := xf.Rk.number()
if !isFloat { if !isFloat {
f = float64(i) f = float64(i)