PHP » GoLang |
login |
register |
about
|
base_convert(PHP 4, PHP 5, PHP 7) base_convert — Convert 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 |
more
Recently updated
more
Most requested
more
Last requests
|