HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
PHP Math Reference : Convert binary to decimal
The bindec() function converts a binary number to a decimal number.
Parameter | Description |
---|---|
binary_string | Required. Specifies the binary string to convert. Note: Must be a string! |
Return Value: | The decimal value of binary_string |
---|---|
Return Type: | Float / Integer |
PHP Version: | 4+ |
❮ PHP Math Reference