Merge pull request #473 from dolmen-go/cell-Sprint

SetCellValue: use fmt.Sprint(v) instead of fmt.Sprintf("%v", v)
formula
xuri 6 years ago committed by GitHub
commit 3092ce6e54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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
}

Loading…
Cancel
Save