Removing trailing dot madness
This commit is contained in:
parent
1f8f3d3e42
commit
feccfa0e2f
1 changed files with 1 additions and 1 deletions
|
|
@ -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_?) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue