fix the xf error
This commit is contained in:
parent
8fbc98155b
commit
ddee605f8f
2
col.go
2
col.go
@ -43,6 +43,7 @@ type XfRk struct {
|
||||
}
|
||||
|
||||
func (xf *XfRk) String(wb *WorkBook) string {
|
||||
if len(wb.Xfs) > 21 {
|
||||
switch wb.Xfs[21].formatNo() {
|
||||
case 27:
|
||||
if f, e := xf.Rk.Float(); e == nil {
|
||||
@ -50,6 +51,7 @@ func (xf *XfRk) String(wb *WorkBook) string {
|
||||
return t.Format("2006.01") //TODO it should be international
|
||||
}
|
||||
}
|
||||
}
|
||||
return fmt.Sprintf("%s", xf.Rk.String())
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user