|
base_convertConvert a number between arbitrary bases Description
string base_convert(string
$num , int $from_base , int $to_base )
Returns a string containing Warning
base_convert may lose precision on large numbers due to properties related to the internal float type used. Please see the Floating point numbers section in the manual for more specific information and limitations. Parameters
Return Values
Changelog
Examples
Example #1 base_convert example
The above example will output: 101000110111001100110100 See Also
|