xsd.nonPositiveInteger

The xsd.nonPositiveInteger class is derived from xsd.integer by setting the value of maxInclusive to be 0. This results in the standard mathematical concept of the non-positive integers. The value space of xsd.nonPositiveInteger is the infinite set {...,-2,-1,0}.

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

class xsd.nonPositiveInteger

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__