Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
String
/
//opt/alt/ruby21/share/ri/2.1.0/system/String/to_f-i.ri
U:RDoc::AnyMethod[iI" to_f:ETI"String#to_f;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"NReturns the result of interpreting leading characters in <i>str</i> as a ;TI"Qfloating point number. Extraneous characters past the end of a valid number ;TI"Mare ignored. If there is not a valid number at the start of <i>str</i>, ;TI"I<code>0.0</code> is returned. This method never raises an exception.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"'"123.45e1".to_f #=> 1234.5 ;TI"&"45.67 degrees".to_f #=> 45.67 ;TI"#"thx1138".to_f #=> 0.0;T:@format0: @fileI" string.c;T:0@omit_headings_from_table_of_contents_below0I"str.to_f -> float ;T0[ I"();T@FI"String;TcRDoc::NormalClassI" scanf;T0