class documentation

class FloatConverter(NumberConverter):

View In Hierarchy

This converter only accepts floating point values:

Rule("/probability/<float:probability>")

By default it only accepts unsigned, positive values. The signed parameter will enable signed, negative values.

Rule("/offset/<float(signed=True):offset>")
New in version 0.15: The signed parameter.
Parameters
mapThe Map.
minThe minimal value.
maxThe maximal value.
signedAllow signed (negative) values.
Method __init__ Undocumented
Class Variable regex Undocumented

Inherited from NumberConverter:

Method to​_python Undocumented
Method to​_url Undocumented
Class Variable weight Undocumented
Instance Variable fixed​_digits Undocumented
Instance Variable max Undocumented
Instance Variable min Undocumented
Instance Variable signed Undocumented
Property signed​_regex Undocumented

Inherited from BaseConverter (via NumberConverter):

Instance Variable map Undocumented
def __init__(self, map, min=None, max=None, signed=False):

Undocumented

Parameters
map:MapUndocumented
min:t.Optional[float]Undocumented
max:t.Optional[float]Undocumented
signed:boolUndocumented
regex: str =