decoct
(PHP 4, PHP 5)
decoct — دهدهی به هشت هشتی
Description
string decoct
( int $number
)
بازگرداندن رشته شامل نمایش هشت هشتی آرگومان number داده شده. بزرگترین عدد قابل تبدیل 4294967295 در دهدهی به "37777777777" تبدیل میشود.
Parameters
- number
-
مقدار دهدهی برای تبدیل
Return Values
رشته هشت هشتی نمایش دهنده number
Examples
Example #1 مثال decoct()
<?php
echo decoct(15) . "\n";
echo decoct(264);
?>
The above example will output:
17 410
See Also
- octdec() - Octal to decimal
- decbin() - Decimal to binary
- dechex() - Decimal to hexadecimal
- base_convert() - Convert a number between arbitrary bases
There are no user contributed notes for this page.
