title: floatValue for CGFloat
body: <p>I have a NSSlider that is attempting to convert a regular float into a CGFloat.  The code that I am using:</p>
  
  <pre><code>CGFloat testing = [mainSlider floatValue];
  </code></pre>
  
  <p>However this simply makes the testing variable "0.00" when I attempt to log it.</p>
  
  <pre><code>NSLog(@"%f", testing);
  </code></pre>
  
  <p>Does anyone have any ideas as to why this would happen?  Thanks for any help.</p>