Query: decoct
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DECOCT(3) 1 DECOCT(3) decoct - Decimal to octalSYNOPSISstring decoct (int $number)DESCRIPTIONReturns a string containing an octal representation of the given $number argument. The largest number that can be converted is 4294967295 in decimal resulting to "37777777777".PARAMETERSo $number - Decimal value to convertRETURN VALUESOctal string representation of $numberEXAMPLESExample #1 decoct(3) example <?php echo decoct(15) . " "; echo decoct(264); ?> The above example will output: 17 410SEE ALSOoctdec(3), decbin(3), dechex(3), base_convert(3). PHP Documentation Group DECOCT(3)
Related Man Pages |
---|
round(3) - php |
dechex(3) - php |
addcslashes(3) - php |
decbin(3) - php |
gmp_init(3) - php |
Similar Topics in the Unix Linux Community |
---|
Simple rules of the UNIX.COM forums: |
Forum Video Tutorial: How to Use Code Tags |
UNIX.COM 2017 Year End Summary |
Please Welcome Don Cragun as Lead Moderator |