Conversion hexadécimale avec la fonction ‘base_convert()’ May 20, 2012 Author: user {filelink=13288} <html> <head> <title> Fonction Mathématique</title> </head> <body> <?php $hex = 'a1'; // Nombre hexadécimal (base 16) // convertir de base 16 à base 10 $decimal = base_convert($hex, 16, 10); // Afficher le décimal echo $decimal; ?> </body> </html> Categories: Uncategorized