forked from rubenv/node-xlsx-writer
-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
It seems that whenever I have 0 as a Number in my data, it's added as an empty string in the sheet. By converting the Number to String, I'm able to work around the issue, but it would be nice to be able to use the correct data type.
I guess the problem is in addRow(): Since the number 0 evaluates to false (while the string "0" doesn't), the value is lost in the addCell call: @_addCell(row[key] || "", col + 1).
Metadata
Metadata
Assignees
Labels
No labels