%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Float/
Upload File :
Create Path :
Current File : //proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Float/round-i.ri

U:RDoc::AnyMethod[iI"
round:ETI"Float#round;TF:publico:RDoc::Markup::Document:@parts[
o:RDoc::Markup::Paragraph;	[I"NRounds +float+ to a given precision in decimal digits (default 0 digits).;To:RDoc::Markup::BlankLineo;
;	[I"PPrecision may be negative.  Returns a floating point number when +ndigits+ ;TI"is more than zero.;T@o:RDoc::Markup::Verbatim;	[I"1.4.round      #=> 1
;TI"1.5.round      #=> 2
;TI"1.6.round      #=> 2
;TI"(-1.5).round   #=> -2
;TI"
;TI"!1.234567.round(2)  #=> 1.23
;TI""1.234567.round(3)  #=> 1.235
;TI"#1.234567.round(4)  #=> 1.2346
;TI"$1.234567.round(5)  #=> 1.23457
;TI"
;TI"34567.89.round(-5) #=> 0
;TI""34567.89.round(-4) #=> 30000
;TI""34567.89.round(-3) #=> 35000
;TI""34567.89.round(-2) #=> 34600
;TI""34567.89.round(-1) #=> 34570
;TI""34567.89.round(0)  #=> 34568
;TI"$34567.89.round(1)  #=> 34567.9
;TI"%34567.89.round(2)  #=> 34567.89
;TI"%34567.89.round(3)  #=> 34567.89
;T:@format0o;
;	[I"GIf <code>half:</code> optional keyword is given, just-half number ;TI".will be rounded according to that value. ;TI"3Supported values for this keyword are follows.;T@o:RDoc::Markup::List:
@type:BULLET:@items[o:RDoc::Markup::ListItem:@label0;	[o;
;	[I"I<code>:up</code> or +nil+: the result will be rounded away from zero;To;;0;	[o;
;	[I"J<code>:even</code>: the result will be rounded to nearest even number;To;;0;	[o;
;	[I"A<code>:down</code>: the result will be rounded close to zero;T:
@fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"2float.round([ndigits])  ->  integer or float
;T0[I"(p1 = v1, p2 = {});T@>FI"
Float;TcRDoc::NormalClass00

Zerion Mini Shell 1.0