title: How to get UISlider to step in decimals
body: <p>I have a UISlider with a min - 0.1 &amp; max - 1. I want the label displaying the value to display the decimals and not just 0 and 1.</p>
  
  <p>Here is the current code:</p>
  
  <pre><code>- (IBAction)sliderChange:(UISlider *)sender { // When the slider for the power factor is moved
  sender.minimumValue = 0.1;
  sender.maximumValue = 1.0;
  int progress = lround(sender.value);
  self.sliderLabel.text = [NSString stringWithFormat:@"%d", progress];
  </code></pre>
  
  <p>}</p>
  
  <p>Please if any one can help I would much appreciate it.</p>