Is there a binary equivalent to the "hex" function?

I have a string that represents a binary value,
and I want to convert it to an integer value
and do some math with it.

if it were a hex string, I'd "hex" it.
what if its a binary string?
-- 
Greg London

Reply via email to