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
i think, the issue here is, that number? is classified as a double and string->double only checks whether the input is a double? before trying Double/parseDouble.
Since Double/parseDouble expects a string, an exception is thrown and ::s/invalid is returned.
The text was updated successfully, but these errors were encountered:
It think it should just test for string? and tranform, otherwise reuturn the original value and let the spec itself return the ::s/invalid. I think it should work. Would you have time for a pull-request on this?
i think, the issue here is, that
number?
is classified as adouble
andstring->double
only checks whether the input is adouble?
before tryingDouble/parseDouble
.Since
Double/parseDouble
expects a string, an exception is thrown and::s/invalid
is returned.The text was updated successfully, but these errors were encountered: