File: //usr/share/ri/3.0.0/system/Float/to_i-i.ri
U:RDoc::AnyMethod[iI" to_i:ETI"Float#to_i;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"1Returns the +float+ 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"&might lead to surprising results:;T@o;; [I"!(0.3 / 0.1).to_i #=> 2 (!)
;T;
0o;
; [I"##to_int is an alias for #to_i.;T:
@fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"9float.to_i -> integer
float.to_int -> integer
;T0[[I"to_int;T@ I"();T@FI"
Float;TcRDoc::NormalClass00