From 2c1bbbe3bc173a3c213515747968d1e8bb66c9da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net> Date: Thu, 15 Aug 1996 01:39:41 +0200 Subject: [PATCH] (cast)mpz documented Rev: src/modules/gmpmod/doc/mpz:1.2 --- src/modules/gmpmod/doc/mpz | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/modules/gmpmod/doc/mpz b/src/modules/gmpmod/doc/mpz index 596b815876..6bd4668b92 100644 --- a/src/modules/gmpmod/doc/mpz +++ b/src/modules/gmpmod/doc/mpz @@ -74,3 +74,25 @@ DESCRIPTION This function returns the greatest common divisor for arg and mpz. ============================================================================ +NAME + cast - cast to other type + +SYNTAX + object mpz->gcd( "string" | "int" | "float" ); + or + (string) mpz + or + (int) mpz + or + (float) mpz + + +DESCRIPTION + This function converts an mpz to a string, int or float. This is + nessesary when you want to view, store or use the result of an mpz + calculation. + +SEE ALSO + cast + +============================================================================ -- GitLab