The decbin() function converts a decimal number to a binary number.
string decbin ( int $number )
Returns a string containing a binary representation of the given number argument.
Binary string representation of number.
Parameter | Description |
---|---|
number | Required. Specifies the decimal value to convert |