xsd.float

The xsd.float datatype is patterned after the IEEE single-precision 32-bit floating point datatype IEEE 754-2008. Its value space is a subset of the rational numbers. Floating point numbers are often used to approximate arbitrary real numbers.

Base class: xsd.anyAtomicType -> xsd.anySimpleType

class xsd.float

Attributes

xsd.float.value

Returns the value of the floating point number as native float.

Special methods

__bool__, __eq__, __float__, __ge__, __gt__, __le__, __lt__, __ne__