xsd.negativeInteger

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

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

class xsd.negativeInteger

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__