title: Using text input value as a float
body: <p>I'm trying to use the text value from a text field as a float (to update a slider), but it's apparently not as straight-forward as I thought. </p>
  
  <pre><code>self.speedSlider.value = self.numberOfSecs.text
  </code></pre>
  
  <p>That errors because an NSString is expected. I also can't cast the text into a float, it seems. </p>
  
  <p>Any help is appreciated.</p>