U:RDoc::AnyMethod[iI" to_i:ETI"String#to_i;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [
I"OReturns the result of interpreting leading characters in str as an ;TI"Qinteger base base (between 2 and 36). Extraneous characters past the ;TI"Nend of a valid number are ignored. If there is not a valid number at the ;TI"Rstart of str, 0
is returned. This method never raises an ;TI")exception when base is valid.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"("12345".to_i #=> 12345
;TI"%"99 red balloons".to_i #=> 99
;TI"$"0a".to_i #=> 0
;TI"%"0a".to_i(16) #=> 10
;TI"$"hello".to_i #=> 0
;TI"&"1100101".to_i(2) #=> 101
;TI")"1100101".to_i(8) #=> 294977
;TI"*"1100101".to_i(10) #=> 1100101
;TI"*"1100101".to_i(16) #=> 17826049;T:@format0:
@fileI"
string.c;T:0@omit_headings_from_table_of_contents_below0I"$str.to_i(base=10) -> integer
;T0[ I"(p1 = v1);T@FI"String;TcRDoc::NormalClassI"
scanf;T0