Displaying 1 result from an estimated 1 matches for "to_minutes".
2007 Mar 15
7
SEC to minutes
Hi Friends,
I am new to ruby on rails.
I want to convert seconds to minutes.
like if 220sec= 3.40 minutes
I did in this way sec/60 but it giving the false results
ex : 70 sec = 110/6=1.8 but it is worong as for time
Can u give any advice?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed