Y
Hacker News
new
|
ask
|
show
|
jobs
by
jewel
2003 days ago
From what I can see, the iPhone timer app is rounding to the nearest second. For positive numbers that can be accomplished with either Math.round(t) or Math.floor(t+0.5).