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
/
Integer
/
//opt/alt/ruby21/share/ri/2.1.0/system/Integer/round-i.ri
U:RDoc::AnyMethod[iI" round:ETI"Integer#round;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"LRounds +int+ to a given precision in decimal digits (default 0 digits).;To:RDoc::Markup::BlankLine o; ; [I"PPrecision may be negative. Returns a floating point number when +ndigits+ ;TI"?is positive, +self+ for zero, and round down for negative.;T@o:RDoc::Markup::Verbatim; [I"1.round #=> 1 ;TI"1.round(2) #=> 1.0 ;TI"15.round(-1) #=> 20;T:@format0: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"0int.round([ndigits]) -> integer or float ;T0[ I" (p1);T@FI"Integer;TcRDoc::NormalClass00