Skip to content

Commit

Permalink
[#69]Feat: 타이머의 시간을 더 디테일하게 표시하기 위해서 셋째 자리까지 표시
Browse files Browse the repository at this point in the history
  • Loading branch information
Minny27 committed Mar 12, 2024
1 parent c6001f3 commit 3183ed4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ enum TimeState {
switch self {
case .initial: return 1
case .five(let value), .four(let value), .three(let value), .two(let value), .one(let value), .zero(let value), .over(let value):
return (value / 2 - 1) / 5
return round((value / 2 - 1) / 5 * 1000) / 1000
}
}

Expand Down

0 comments on commit 3183ed4

Please sign in to comment.