string decbin ( int num ) converts a decimal number into a binary number : decbin « Math « PHP






string decbin ( int num ) converts a decimal number into a binary number

 
print decbin(16); // "10000"
  
  

Related examples in the same category

1.number decbin ( string binary_num ) converts a binary number into a decimal number