octdec(): decimal equivalent of octal number

echo octdec(5); // Output 5 
echo "<br>";
echo octdec(45); // Output 37 
echo "<br>";
echo octdec(400); // Output is 256
echo "<br>";
echo octdec(657); // Output is 431
echo "<br>";
echo octdec(3000); // Output is 1536
number octdec(string $octal_number);
$octal_numberRequired : Octal number string as Input to convert to equivalent decimal base number.
The output is number converted to decimal base system.
Math Functions base_convert(): Convert number From any base to other decbin() Binary equivalent of decimal number dechex(): Convert decimal number to hexadecimal system
Subscribe to our YouTube Channel here


* indicates required
Subscribe to plus2net


    Post your comments , suggestion , error , requirements etc here

    PHP video Tutorials
    We use cookies to improve your browsing experience. . Learn more
    HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
    ©2000-2024 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer