Improve path settings, add icons

This commit is contained in:
Christoph Hagen
2025-12-20 12:06:59 +01:00
parent 9848de02cb
commit 07ba77e337
15 changed files with 126 additions and 21 deletions

View File

@@ -1,5 +1,4 @@
import Foundation
import _math
extension Double {
@@ -8,7 +7,7 @@ extension Double {
}
func rounded(decimals: Int) -> Double {
let factor = _math.pow(10.0, Double(decimals))
let factor = Double.pow(10.0, Double(decimals))
return (self * factor).rounded() / factor
}
}