diff --git a/Sources/Beat/Beat.swift b/Sources/Beat/Beat.swift index e78ce51..a99cd50 100644 --- a/Sources/Beat/Beat.swift +++ b/Sources/Beat/Beat.swift @@ -13,6 +13,6 @@ public struct Beat { } public func text() -> String { - return "\(db)" + return String(format: "%03d", db) } }