|
@@ -31,7 +31,7 @@ public extension Double {
|
|
|
/// - Parameter value: <#value description#>
|
|
|
/// - Returns: <#description#>
|
|
|
func formatDurationToHMS() -> String {
|
|
|
- var theTime = lround(self)
|
|
|
+ var theTime = Int(floor(self))
|
|
|
var theTime1 = 0 // 分
|
|
|
var theTime2 = 0 // 小时
|
|
|
if theTime < 60 {
|