gmp_intval

(PHP 4 >= 4.0.4, PHP 5)

gmp_intval -- Converte un numero GMP in un intero

Descrizione

int gmp_intval ( resource gmpnumber)

Questa funzione converte un numero GMP in un intero.

Avvertimento

Questa funzione restituisce un risultato utile, solo se il numero attualmente fornito al PHP è un intero (per esempio, un tipo signed long). Se desideri solo stampare il numero GMP, usa gmp_strval().