D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Float
/
Filename :
to_i-i.ri
back
Copy
U:RDoc::AnyMethod[iI" to_i:ETI"Float#to_i;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I",Returns +self+ truncated to an Integer.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"1.2.to_i # => 1 ;TI"(-1.2).to_i # => -1 ;T:@format0o; ; [I"BNote that the limited precision of floating-point arithmetic ;TI"$may lead to surprising results:;T@o;; [I"!(0.3 / 0.1).to_i # => 2 (!);T; 0: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"to_i -> integer ;T0[[I"to_int;T@ I"();T@FI" Float;TcRDoc::NormalClass00