Skip to content

format key might not right, so need check if the key is exist #87

@liuguodong15

Description

@liuguodong15
							/*
								func (c *NumberCol) String(wb *WorkBook) []string {
									if fNo := wb.Xfs[c.Index].formatNo(); fNo != 0 {
										t := timeFromExcelTime(c.Float, wb.dateMode == 1)
										if value,ok:=wb.Formats[fNo];ok{
											return []string{yymmdd.Format(t, value.str)}
										}else {
											return []string{strconv.FormatFloat(c.Float, 'f', -1, 64)}
										}
									}
									return []string{strconv.FormatFloat(c.Float, 'f', -1, 64)}
								}
							*/
							col := row.Col(j) //has something wrong, need change above function in file col.go

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions