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
/
Time
/
//opt/alt/ruby21/share/ri/2.1.0/system/Time/to_f-i.ri
U:RDoc::AnyMethod[iI" to_f:ETI"Time#to_f;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"?Returns the value of _time_ as a floating point number of ;TI"seconds since the Epoch.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"t = Time.now ;TI"0"%10.5f" % t.to_f #=> "1270968744.77658" ;TI"(t.to_i #=> 1270968744 ;T:@format0o; ; [I"CNote that IEEE 754 double is not accurate enough to represent ;TI"/the number of nanoseconds since the Epoch.;T: @fileI"time.c;T:0@omit_headings_from_table_of_contents_below0I"time.to_f -> float ;T0[ I"();T@FI" Time;TcRDoc::NormalClass00