string.numeric.parse accepts empty strings and returns a NaN
this does not fail as I would expect - it returns a
NaN
. Is that the expected behavior? What is a nice way to achieve the behavior I'm looking for?1 Reply
That feels like a bug. Docs say
returns an error.
string.numeric
morphs a "well-formed numeric string" and "" doesn't seem well-formed to me. 😅
What version are you on? I'm on 2.1 and it works as expected for me.returns an error.