On Fri, Apr 9, 2010 at 3:06 PM, Jonathan Worthington <jonat...@jnthn.net>wrote:

> Though even clearer and same number of characters as whole_seconds is:
>
>   $dt.seconds.round


This makes more sense to me than the first example you listed because when
dealing with time measurement, I rarely think of seconds that are broken
down to sub-measurements. Rather, I often think of seconds as an aggregation
of milliseconds, so rounding the fraction (a second is internally a fraction
of milliseconds) Just Makes Sense. The idea continues downwards to the
smallest represented unit of time and upwards to the largest represented
unit.

-Jason "s1n" Switzer

Reply via email to