improve and examples for Float.parse/1 and String.to_float

fixes issue #2869
It needs to be:

It fails the same way when I create a test for it.

    test :to_float do
        three = "3"
        assert_raise ArgumentError, fn -> String.to_float(three) end
    end