class documentation
class FloatConverter(NumberConverter): (source)
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>") :param map: The :class:`Map`. :param min: The minimal value. :param max: The maximal value. :param signed: Allow signed (negative) values. .. versionadded:: 0.15 The ``signed`` parameter.
Method | __init__ |
Undocumented |
Class Variable | part |
Undocumented |
Class Variable | regex |
Undocumented |
Inherited from NumberConverter
:
Method | to |
Undocumented |
Method | to |
Undocumented |
Class Variable | weight |
Undocumented |
Instance Variable | fixed |
Undocumented |
Instance Variable | max |
Undocumented |
Instance Variable | min |
Undocumented |
Instance Variable | signed |
Undocumented |
Property | signed |
Undocumented |
Inherited from BaseConverter
(via NumberConverter
):
Instance Variable | map |
Undocumented |