Make text() return a preceding 0s
This commit is contained in:
parent
3938098a07
commit
dc9899f777
@ -13,6 +13,6 @@ public struct Beat {
|
||||
}
|
||||
|
||||
public func text() -> String {
|
||||
return "\(db)"
|
||||
return String(format: "%03d", db)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user