Pike v8.0 release 1738

Method Gmp.mpz()->digits()


Method digits

string digits(void|int(2..36)|int(256..256)|int(-256..-256) base)

Description

Convert this mpz object to a string. If a base is given the number will be represented in that base. Valid bases are 2-36 and 256 and -256. The default base is 10.

See also

cast_to_string