Generate labels from workout

This commit is contained in:
Christoph Hagen
2025-08-22 00:01:51 +02:00
parent 9ec207014c
commit f972a2c020
8 changed files with 108 additions and 14 deletions

View File

@@ -0,0 +1,7 @@
extension Double {
func rounded(to interval: Double) -> Double {
(self / interval).rounded() * interval
}
}