         GeometryReader { geometry in
             HStack(alignment: .bottom, spacing: 5) {
                 TextField(self.placeholder, text: self.valueString)
-                    .font(.largeTitle)
+                    .font(font)
                     .multilineTextAlignment(.trailing)
                     .keyboardType(self.allowFractions ? .decimalPad : .numberPad)
                     .frame(width: geometry.size.width/2, alignment: .trailing)


public struct LabeledNumberInput: View {
    @Binding var value: Double?
    var label: String
    var placeholder: String
    var allowFractions: Bool
    
    private var numberFormatter: NumberFormatter {
        let numberFormatter = NumberFormatter()

        )
    }
    
    public init(value: Binding<Double?>, font: Font = .largeTitle, label: String, placeholder: String? = nil, allowFractions: Bool = false) {
        _value = value
        self.font = font
        self.label = label
        self.placeholder = placeholder ?? LocalizedString("Value", comment: "Placeholder text until value is entered")
        self.allowFractions = allowFractions
