def Float(value, encoding=None):
try:<EOL><INDENT>return float(Text(value, encoding))<EOL><DEDENT>except (TypeError, ValueError):<EOL><INDENT>return None<EOL><DEDENT>
Parse a value as a floating point number.

:type  value: `unicode` or `bytes`
:param value: Text value to parse.

:type  encoding: `bytes`
:param encoding: Encoding to treat `bytes` values as, defaults to
    ``utf-8``.

:rtype: `float`
:return: Parsed float or ``None`` if ``value`` could not be parsed as a
    float.