Mega Code Archive

 
Categories / Ruby / Number
 

Convert a binary number from a string

puts Integer("0b11110010")