Swift tronque un flotteur

let formatted = String(format: "Angle: %.2f", angle)
TheKrisinator