xsd.positiveInteger

The xsd.positiveInteger class is derived from xsd.nonNegativeInteger by setting the value of minInclusive to be 1. This results in the standard mathematical concept of the positive integer numbers. The value space of xsd.positiveInteger is the infinite set {1,2,…}.

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

class xsd.positiveInteger

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__