How to use octdec in PHP
This article describe about octdec() Function in PHP.
octdec() Function
This function is used for convert octal number to decimal number.
Syntax
Parameter |
Description |
oct_number |
Specified a octal number to convert |
Example
<html>
<body>
<?php
echo octdec("46") . "<br />";
echo octdec("22") . "<br />";
echo octdec("3370") . "<br />";
echo octdec("604");
?>
</body>
</html> |
Output
You may also want to read these related articles Click here
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here