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 use the preprocessor parseNumbers, it returns NaN for empty string values. Is this expected? I would prefer to leave the value as is (I'm parsing a large object).
isNaN('') === false however parseInt('') === NaN
If this is everyone's desired behaviour, please ignore my issue. If this isn't what people are expecting, I can submit a PR. I will see if there are any comments on this issue. In the meantime I will use my own preprocessor.
The text was updated successfully, but these errors were encountered:
When use the preprocessor parseNumbers, it returns
NaN
for empty string values. Is this expected? I would prefer to leave the value as is (I'm parsing a large object).isNaN('') === false
howeverparseInt('') === NaN
If this is everyone's desired behaviour, please ignore my issue. If this isn't what people are expecting, I can submit a PR. I will see if there are any comments on this issue. In the meantime I will use my own preprocessor.
The text was updated successfully, but these errors were encountered: