Parses the string as a Float number and returns the result.
if the string is not a valid representation of a number.
Thanks for your feedback!