struct ContentView: View {
   @State private var currentValue: Float = 0

   var body: some View {
      VStack {
         Text("Current Value: \(currentValue.formatted(.number.precision(.fractionLength(0))))")
         Stepper("Counter", value: $currentValue, in: 0...100)
         Spacer()
      }.padding()
   }
}