You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your issue. I tested with v2.9.0 and master branch code, and it works well. Please try to upgrade the lasted version. If it still doesn't work, please let me know.
Thanks for your issue. I fixed this by made SetCellInt function required int64 data type parameter. Please upgrade to the master branch code, and these breaking changes will be released on the next version.
Description
if type int64 value bigger than max value of int (2147483647) will get a negative number
https://github.com/qax-os/excelize/blob/master/cell.go#L218
i have to transform this value to string type as temporary solution
Steps to reproduce the issue
for examlpe:
var int64Value = int64(3445478214)
f.SetCellValue("Sheet1", "A1", int64Value)
this code will get negative number,
because force transform int64 value into int value: int(int64Value)
Describe the results you received
a negative number like:
-200000
Describe the results you expected
right int64 number
Go version
1.16.1
Excelize version or commit ID
v1.4.0
Environment
Validations
The text was updated successfully, but these errors were encountered: