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
When reading an excel file that is exported from other libraries, for example caxlsx https://github.com/caxlsx/caxlsx
The library generates Excel with floats and integers represented with t="n", for example from the "sheet1.xml"
Both of these numbers are read by Creek as: 1.0 , 114.0, which is causing problems when the system expects to see an integer value instead of float, for example when using that number to load Models from the Database
When reading an excel file that is exported from other libraries, for example caxlsx https://github.com/caxlsx/caxlsx
The library generates Excel with floats and integers represented with t="n", for example from the "sheet1.xml"
Both of these numbers are read by Creek as: 1.0 , 114.0, which is causing problems when the system expects to see an integer value instead of float, for example when using that number to load Models from the Database
I have found in this line https://github.com/pythonicrubyist/creek/blob/master/lib/creek/styles/converter.rb#L47
That Creek always read the value as float.
My suggestion is to replace
with
I don't know if this is the right solution or not, but by applying this as a patch in the system solved our problem.
The text was updated successfully, but these errors were encountered: