xsd.nonNegativeInteger

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

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

class xsd.nonNegativeInteger

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__