Flowdock
to_f() public

Returns the value of time as a floating point number of seconds since epoch.

   t = Time.now
   "%10.5f" % t.to_f   #=> "1049896564.13654"
   t.to_i              #=> 1049896564
Show source
Register or log in to add new notes.