zmodn.Zmodn.__int__()

Convert the Zmodn object to an integer.

Returns:

The integer representation of the Zmodn object.

Return type:

int

Raises:

ValueError – If the Zmodn object has more than one representative.