Query: octdec
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
OCTDEC(3) 1 OCTDEC(3) octdec - Octal to decimalSYNOPSISnumber octdec (string $octal_string)DESCRIPTIONReturns the decimal equivalent of the octal number represented by the $octal_string argument.PARAMETERSo $octal_string - The octal string to convertRETURN VALUESThe decimal representation of $octal_stringEXAMPLESExample #1 octdec(3) example <?php echo octdec('77') . " "; echo octdec(decoct(45)); ?> The above example will output: 63 45NOTESNote The function can convert numbers that are too large to fit into the platforms integer type, larger values are returned as float in that case.SEE ALSOdecoct(3), bindec(3), hexdec(3), base_convert(3). PHP Documentation Group OCTDEC(3)
Related Man Pages |
---|
round(3) - php |
ini_get(3) - php |
gmp_hamdist(3) - php |
gmp_init(3) - php |
pow(3) - php |
Similar Topics in the Unix Linux Community |
---|
Rules for Homework & Coursework Questions Forum |
UNIX.COM 2017 Year End Summary |
New Code Tags (Syntax Highlighting) |
Denial Of Service Attack Update |