nofeardb.datatypes.Float

class nofeardb.datatypes.Float

Bases: OrmDataType

ORM Float Datatype

classmethod cast(value) Optional[float]

tries to cast the given value to the expected datatype

classmethod deserialize(value: str) Optional[float]

deserializes a string to the expected datatype

classmethod serialize(value: Optional[float]) Optional[str]

serializes the given value to a string based on the datatype