Calculating Binary Numbers?
| From: | Jason Caldwell | Date: | Fri, 09 May 2003 19:14:55 +0000 |
| Subject: | Calculating Binary Numbers? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-147057@lists.php.net to get a copy of this message | ||
Hi
Does anyone know how I can;
1. Convert a number to it's binary representation in php, for example:
1267 = 10011110011
??
2. Are there built in functions to calculate these binary numbers?
I looked in the manual, but didn't see any -- perhaps I overlooked
something.
Thanks,
Jason