import SwiftUI extension TextField where Label == Text { public init( _ titleKey: LocalizedStringKey, value: Binding, fractionLength: Int, prompt: Text? = nil ) { self.init( titleKey, value: value, format: .number.precision(.fractionLength(fractionLength)), prompt: prompt ) } public init( _ titleKey: S, value: Binding, fractionLength: Int, prompt: Text? = nil ) { self.init( titleKey, value: value, format: .number.precision(.fractionLength(fractionLength)), prompt: prompt ) } public init( _ titleKey: LocalizedStringKey, value: Binding, fractionLength: Int, prompt: Text? = nil ) { self.init( titleKey, value: value, format: .number.precision(.fractionLength(fractionLength)), prompt: prompt ) } public init( _ titleKey: S, value: Binding, fractionLength: Int, prompt: Text? = nil ) { self.init( titleKey, value: value, format: .number.precision(.fractionLength(fractionLength)), prompt: prompt ) } }