__int__(self): conversion to integer
(int(a) makes an a.__int__() call)
__float__(self): conversion to float
__hex__(self): conversion to hexadecimal number
Documentation of special methods: see the Python Reference Manual (not the Python Library Reference!), follow link from index ``overloading - operator''