A float value is one that is expressed strictly as a optional leading ‘+’ or ‘-‘ sign, zero or more decimal digits, an optional decimal point, and zero or more decimal digits. At least one digit must be specified.
If an the attribute is not specified, the value is empty, or is not a number (using .isNaN method), then the default value is returned.