English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
このdecoct()
関数は十進数を八進数に変換します。指定された十進数の八進数文字列を返します。
decoct(num)
num-変換する十進数値
このdecoct()
関数は指定された十進数の八進数文字列を返します。
<?php echo decoct("70"); ?>
出力結果
106
もう一つの例を見てみましょう-
<?php echo decoct("7878787888"); ?>
出力結果
72547141460