| Server IP : 162.214.74.102 / Your IP : 216.73.217.46 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Float/ |
Upload File : |
U:RDoc::AnyMethod[iI" floor:ETI"Float#floor;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"AReturns the largest number less than or equal to +float+ in ;TI"'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 floor down for negative.;T@o:RDoc::Markup::Verbatim; [I"1.2.floor #=> 1 ;TI"2.0.floor #=> 2 ;TI"(-1.2).floor #=> -2 ;TI"(-2.0).floor #=> -2 ;TI" ;TI"!1.234567.floor(2) #=> 1.23 ;TI""1.234567.floor(3) #=> 1.234 ;TI"#1.234567.floor(4) #=> 1.2345 ;TI"$1.234567.floor(5) #=> 1.23456 ;TI" ;TI"34567.89.floor(-5) #=> 0 ;TI""34567.89.floor(-4) #=> 30000 ;TI""34567.89.floor(-3) #=> 34000 ;TI""34567.89.floor(-2) #=> 34500 ;TI""34567.89.floor(-1) #=> 34560 ;TI""34567.89.floor(0) #=> 34567 ;TI"$34567.89.floor(1) #=> 34567.8 ;TI"%34567.89.floor(2) #=> 34567.89 ;TI"$34567.89.floor(3) #=> 34567.89;T:@format0: @fileI"numeric.c;T:0@omit_headings_from_table_of_contents_below0I"2float.floor([ndigits]) -> integer or float ;T0[ I"(*args);T@)FI" Float;TcRDoc::NormalClass00