Decimal to Binary

Convert a decimal number to its binary string representation.

Code

Utilities
decbin($num);

Parameters

Decimal number to convert.

Server

More PHP Snippets