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