Integer(arg,base=0) â integer
Instance Public methods
Converts arg to a Fixnum or Bignum. Numeric types are converted directly (with floating
point numbers being truncated). base (0, or between 2 and 36)
is a base for integer string representation. If arg is a
String, when base is omitted or equals to zero, radix
indicators (0, 0b, and 0x) are
honored. In any case, strings should be strictly conformed to numeric
representation. This behavior is different from that of
String