xsd.integer

The xsd.integer class is derived from xsd.decimal by fixing the value of fractionDigits to be 0 and disallowing the trailing decimal point. This results in the standard mathematical concept of the integer numbers. The value space of xsd.integer is the infinite set {...,-2,-1,0,1,2,...}.

Base class: xsd.decimal -> xsd.anyAtomicType -> xsd.anySimpleType

class xsd.integer

Attributes

xsd.decimal.value

Returns the value of the decimal number as decimal.Decimal.

Special methods

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