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