📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-06-30 12:24:09
📂
/ (Root)
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
String
📍 /opt/alt/ruby18/share/ri/1.8/system/String
🔄 Refresh
✏️
Editing: to_f-i.yaml
Read Only
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the result of interpreting leading characters in <em>str</em> as a floating point number. Extraneous characters past the end of a valid number are ignored. If there is not a valid number at the start of <em>str</em>, <tt>0.0</tt> is returned. This method never raises an exception. - !ruby/struct:SM::Flow::VERB body: " "123.45e1".to_f #=> 1234.5\n "45.67 degrees".to_f #=> 45.67\n "thx1138".to_f #=> 0.0\n" full_name: String#to_f is_singleton: false name: to_f params: | str.to_f => float visibility: public
💾 Save Changes
❌ Cancel