Hello
I would like to open a PullRequest that would allow parsing floats with a leading dot.
Current situation:
iex> Float.parse(".25")
:error
Suggested:
iex> Float.parse(".25)
{0.25, ""}
I detected this behavior in a form that uses LiveView. The form has an input field for a float, on change a new calculation is triggered.
When a user now wants to changes the value from "8.0" to "9.0" he may delete first the "8", leaving the field with ".0". This blew up my LiveView.
I forked the repo, and made the changes already, all tests are passing so far.
Alessandro