"Sverre Bakke" <sv*****************@ingen-spam.online.no> wrote
in message news:<bn**********@dolly.uninett.no>...
I am using the base_convert() function to convert numbers between binary,
hexadecimal, decimal, etc... It works great, but I have problems converting
numbers with .'s
Like this number:
15.20 decimal will be 1111 as binary...
is there any way to include the rest of the number in the convertion?
Sure, just write your own conversion function. Note, however, that
you won't be able to use those binary, octal, or hexadecimal floats
anywhere; PHP only recognizes binary, octal, and hexadecimal integers.
Cheers,
NC