Rapide Advanced Adulte
   gmp_strval   
Resultatsgmp_strval   |   Contact

     Manuel PHP     
Partager
 
 
Partager
Partager

 

Table :

.gmp abs
.gmp add
.gmp and
.gmp clrbit
.gmp cmp
.gmp com
.gmp div q
.gmp div qr
.gmp div r
.gmp div
.gmp div q()
.gmp divexact
.gmp fact
.gmp gcd
.gmp gcdext
.gmp hamdist
.gmp init
.gmp intval
.gmp invert
.gmp jacobi
.gmp legendre
.gmp mod
.gmp mul
.gmp neg
.gmp nextprime
.gmp or
.gmp perfect square
.gmp popcount
.gmp pow
.gmp powm
.gmp prob prime
.gmp random
.gmp scan0
.gmp scan1
.gmp setbit
.gmp sign
.gmp sqrt
.gmp sqrtrem
.gmp strval
.gmp sub
.gmp xor
 
   

  gmp_strval  


gmp_strval

(PHP 4 >= 4.0.4, PHP 5)

gmp_strval -- Convertit un nombre GMP en chaîne

Description

string gmp_strval ( resource gmpnumber [, int base] )

gmp_strval() convertit un nombre GMP en chaîne de caractères, dans la base base. La base par défaut est 10. Les valeurs possibles vont de 2 à 36.

Exemple 1. Conversion d'un nombre GMP en chaîne

<?php
$a
= gmp_init("0x41682179fbf5");
printf("Décimal : %s, base 36: %s",
       
gmp_strval($a), gmp_strval($a, 36));
?>


    Annonces       
 

 Retour au chapitre Php

 

Top
 

Ajouter JungleKey.fr à votre Explorateur

 
 

About Us | © 2007 JungleKey




iBlack | Mobile | Wiki | Ajouter ce moteur