# Class k.d._FloatConverter(BaseConverter):

Part of kiwi.datatypes View In Hierarchy

Known subclasses: kiwi.datatypes._DecimalConverter

No class docstring

Method | as_string | Convert a float to a string
Method | from_string | Convert a string to a float

Inherited from BaseConverter:

Method | get_compare_function | This can be overriden by a subclass to provide a custom comparison
Method | get_mask | Returns the mask of the entry or None if not specified.

def as_string(self, value, format=None):
overrides kiwi.datatypes.BaseConverter.as_string
Convert a float to a string

def from_string(self, value):
overrides kiwi.datatypes.BaseConverter.from_string
overridden in kiwi.datatypes._DecimalConverter
Convert a string to a float