Advertisement
Guest User

Untitled

a guest
Sep 6th, 2014
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scala 0.10 KB | None | 0 0
  1. def convertSeconds(time: Int): String = s"h: ${time / 3600}, m: ${(time % 3600) / 60}, s: ${time % 60}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement