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

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

        )
    }
    
    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
