class FloatConverter(NumberConverter):
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>")
Parameters | |
map | The Map . |
min | The minimal value. |
max | The maximal value. |
signed | Allow 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 |
Undocumented
Parameters | |
map:Map | Undocumented |
min:t.Optional[ | Undocumented |
max:t.Optional[ | Undocumented |
signed:bool | Undocumented |