title: Taking NSString and modifying it for another NSString?
body: <p>I have a <code>NSString</code> that's giving out input values on a control.</p>
  
  <p>I want to take these values and convert them for user display. AKA, <strong>Value 0.7 is 1</strong>, <strong>value 1.3 is 5</strong>. etc. </p>
  
  <p>Ive tried writing an if statement, such as</p>
  
  <pre><code>if self.label.text = 0.7
     self.labelone.text = 1
  </code></pre>
  
  <p>But I cant figure out where it should be written or what code I should be using.<br>
  I only need 6 values so even though its a messy way to implement it, I dont mind that much. </p>
  
  <p>Ive searched many resources and I cannot find anything or anyone trying to attempt something similar, which leads me to believe its either incredibly simple, or I'm missing out on something incredibly simple. </p>
  
  <p>Here is the code for the <code>UILabel</code> I'm trying to convert and modify</p>
  
  <pre><code>- (IBAction)rotaryKnobDidChange
  {
      self.label.text = [NSString stringWithFormat:@"%.3f", self.rotaryKnob.value];
      self.slider.value = self.rotaryKnob.value;
  }     
  </code></pre>