8000
Every empty value in excel is converted to 0 due to fact that:
isNaN('') => false
and line 41: _data[k.trim()] = isNaN(value) ? value : +value
makes empty record to 0.
I suggest following to check if value is number or not:
(isNaN(value) || value === '') ? value : +value;
you can find working sample here.
Adding empty string check. dominictarr#15
Is there a solution for this?
Fix some issues
Fixes a number of issues:
Activity
Adding empty string check. dominictarr#15
raapperez commentedon Oct 31, 2016
Is there a solution for this?
Fix some issues
Fixes a number of issues: