Pike v8.0 release 1738

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.

See also

cast_to_int, cast_to_float, cast_to_string