bindec
(PHP3 , PHP4)
bindec ---&">nbsp; 二进制转十进制
语法 : int bindec(string binary_string);
说明 :
将参数binary_string二进制的值转换成十进制的值,此函数传回的值为十进制的值。能转换的最大值为二进制的31个1或是十进制的2147483647。
参考 : decbin( )
时间: 2024-08-03 13:32:18
bindec
(PHP3 , PHP4)
bindec ---&">nbsp; 二进制转十进制
语法 : int bindec(string binary_string);
说明 :
将参数binary_string二进制的值转换成十进制的值,此函数传回的值为十进制的值。能转换的最大值为二进制的31个1或是十进制的2147483647。
参考 : decbin( )