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

fixes issue #2869
Try creating a function that returns the string.