Convert octal to decimal:
The octdec() function converts an octal number to a decimal number.
Tip: To convert decimal to octal, look at the decoct() function.
Parameter | Description |
---|---|
octal_string | Required. Specifies the octal string to convert |
Return Value: | The decimal value of octal_string |
---|---|
Return Type: | Float / Integer |
PHP Version: | 4+ |