Complete PHP Math Reference
The bindec() function converts a binary number to a decimal number.
| Parameter | Description |
|---|---|
| binary_number | Required. Specifies the binary number to convert |
The output of the code above will be:
Complete PHP Math Reference
Your message has been sent to W3Schools.