Permalink
Browse files

Adding 3 digits after decimal

  • Loading branch information...
1 parent 6160bdb commit 51e801525cb8276ff5f99256a60f7b14baa04dfb @mrichardson23 committed Sep 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app.rb
  2. BIN development.db
View
2 app.rb
@@ -50,7 +50,7 @@ def millisToTime(millis)
millis = millis - minutes * 60000
seconds = millis / 1000
mils = millis % 1000
- output = "%02d" % minutes + ":" + "%02d" % seconds + "." + mils.to_s()
+ output = "%02d" % minutes + ":" + "%02d" % seconds + ".%03d" % mils
return output
end
end
View
BIN development.db
Binary file not shown.

0 comments on commit 51e8015

Please sign in to comment.