decoct
(PHP 4, PHP 5)
decoct — 10 進数を 8 進数に変換する
説明
string decoct ( int $number )引数 number を 8 進数表現した文字列を返します。 変換出来る最大の数字は 10 進数の 4294967295 であり、"37777777777" を返します。
パラメータ
- number
変換したい 10 進数値。
返り値
number を 8 進文字列で表した値を返します。
例
参考
| octdec() |
| decbin() |
| dechex() |
| base_convert() |
decoct
There are no user contributed notes for this page.