diff options
author | xuri <xuri.me@gmail.com> | 2019-08-14 10:17:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-14 10:17:29 +0800 |
commit | 3092ce6e542bec39135844c4bf45fe22f9e30b7a (patch) | |
tree | 5b48393f33a806897662a7f5d9d26586b804fc93 | |
parent | 9c70d0ac868f66badf2663cc7b4b3c46d5411131 (diff) | |
parent | ac395a60ed2ac643403678991ff4745231ff48c5 (diff) |
Merge pull request #473 from dolmen-go/cell-Sprint
SetCellValue: use fmt.Sprint(v) instead of fmt.Sprintf("%v", v)
-rw-r--r-- | cell.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -94,7 +94,7 @@ func (f *File) SetCellValue(sheet, axis string, value interface{}) error { case nil: err = f.SetCellStr(sheet, axis, "") default: - err = f.SetCellStr(sheet, axis, fmt.Sprintf("%v", value)) + err = f.SetCellStr(sheet, axis, fmt.Sprint(value)) } return err } |