Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php octal to decimal


<?php
echo octdec('77') . "
"; //outputs 63
echo octdec(decoct(45)); //outputs 45
?>

Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #php #octal #decimal
ADD COMMENT
Topic
Name
2+1 =