Method Gmp.mpz()->cast() Method cast (string)Gmp.mpz()(int)Gmp.mpz()(float)Gmp.mpz() Description Cast this mpz object to another type. Allowed types are string, int and float.