PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

deg2rad> <dechex
Last updated: Fri, 26 Sep 2008

view this page in

decoct

(PHP 4, PHP 5)

decoctKonwersja liczby dziesiętnej do ósemkowej

Opis

string decoct ( int $liczba )

Zwraca łańcuch znaków zawierający ósemkową reprezentację liczby dziesiętnej liczba . Największą liczbą, która może być skonwertowana jest 4 294 967 295 dziesiętnie, co odpowiada "37777777777" ósemkowo.

Example #1 decoct() przykład

<?php
echo decoct(15) . "\n";
echo 
decoct(264);
?>

Powyższy przykład wyświetli:

17
410

Patrz także octdec(), decbin(), dechex() i base_convert().



add a note add a note User Contributed Notes
decoct
There are no user contributed notes for this page.

deg2rad> <dechex
Last updated: Fri, 26 Sep 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites