pyds.Integer

class pyds.Integer(value, units=None)

Bases: pyds.Numeric

Represents a PDS integer value.

Parameters
  • value (int)

    Value of the integer.

  • units (None or Units)

    The units associated with the integer.

Raises
Attributes
value

Value of the integer. Instance of int. Read-only.

units

Units associated with the integer. None or a Units instance. Read-only.


Special Methods

Integer.__int__()

Return value as an int.

Integer.__float__()

Return value as a float.

Integer.__str__()

Return a PDS serialized string (str) representing the object.

Called by str().