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

search for in the

deg2rad> <dechex
[edit] Last updated: Fri, 30 Nov 2012

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.

Przykład #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 - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites