(PHP 4, PHP 5, PHP 7, PHP 8)
decoct — Da decimale a ottale
Restituisce una stringa contenente una rappresentazione in ottale di un dato
argomento numero
. Il più grande numero che può essere convertito è
2147483647 in decimale risultante in "17777777777". Vedere anche octdec().
Example #1 Esempio per decoct()
<?php
echo decoct(15) . "\n";
echo decoct(264);
?>
L'esempio precedente visualizzerà:
17 410
Vedere anche octdec(), decbin(), dechex() e base_convert().
Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!
Check out: eBank.nz (Art Generator) |
Netwrck.com (AI Tools) |
Text-Generator.io (AI API) |
BitBank.nz (Crypto AI) |
ReadingTime (Kids Reading) |
RewordGame |
BigMultiplayerChess |
WebFiddle |
How.nz |
Helix AI Assistant