base_convert <<< |
bindec | ceil >>> |
8.61 Mathématiques 8 Référence des fonctions Manuel PHP . Introduction . Pré-requis . Installation . Configuration à l'exécution . Types de ressources . Constantes pré-définies . abs . acos . acosh . asin . asinh . atan . atan2 . atanh . base_convert ->bindec . ceil . cos . cosh . decbin . dechex . decoct . deg2rad . exp . expm1 . floor . fmod . getrandmax . hexdec . hypot . is_finite . is_infinite . is_nan . lcg_value . log . log10 . log1p . max . min . mt_getrandmax . mt_rand . mt_srand . octdec . pi . pow . rad2deg . rand . round . sin . sinh . sqrt . srand . tan . tanh |
8.61.16 bindec()Convertit de binaire en décimal[ Exemples avec bindec ] PHP 3, PHP 4 , PHP 5 number bindec ( string binary_string )bindec retourne la conversion d'un nombre binaire représenté par la chaîne binary_string en décimal. bindec convertit un nombre binaire en décimal. Le plus grand nombre convertible a 31 bits à 1, soit 2147483647 en décimal. Depuis PHP 4.1.0, cette fonction peut également convertir de très grands nombres. Elle retourne un nombre de type float dans ce cas.
Voir aussi decbin , octdec , hexdec et base_convert . |
<< | bindec | >> |
base_convert | Mathématiques | ceil |