Removing trailing dot madness

This commit is contained in:
Viktor Klang 2012-01-07 00:49:35 +01:00
parent 1f8f3d3e42
commit feccfa0e2f

View file

@ -325,7 +325,7 @@ class FiniteDuration(val length: Long, val unit: TimeUnit) extends Duration {
case Duration(x, NANOSECONDS) x + " nanoseconds"
}
def printHMS = "%02d:%02d:%06.3f".format(toHours, toMinutes % 60, toMillis / 1000f % 60)
def printHMS = "%02d:%02d:%06.3f".format(toHours, toMinutes % 60, toMillis / 1000d % 60)
def compare(other: Duration) =
if (other.finite_?) {