Is It a Binary Number?
Wednesday February 6, 2008
If you are working with binary numbers and need to check if a given number is binary, you can use the is_binary () function. This function will return true or false. If you need a number to be binary and it is not, you can use the base_convert () function to make it binary.


No comments yet. Leave a Comment