Convert Number Base
Tuesday April 17, 2007
Yesterday's blog talked about how to read and write binary. Today, we will look at an easier way to do this. You can use the base_convert () PHP function to translate any base to any other base, so you can quickly decode binary, hex, etc. This function has three variables. They are the number, it's base, and the base you are converting to. It then returns the number in the base you choose.


Comments
No comments yet. Leave a Comment