input float number as character string
then check the string for non numerical characters
if there are none - convert string to float number using strtod function.
then check the string for non numerical characters
if there are none - convert string to float number using strtod function.