title: Doubles to Strings swift
body: <p>I am trying to convert a double, <code>value</code> to a string. This string will be set as the text of a Cocoa Touch UI element, that only accepts strings (I can't use the double as-is)</p>
  
  <pre><code>let value = example double value (my actual code is not this)
  UIElementBeingSet.text = NSString(value)
  </code></pre>
  
  <p>When I try the above code, I get "Use of unresolved identifier 'value'.</p>
  
  <p>Through my research, I have found questions like <a href="https://stackoverflow.com/questions/24047374/string-formatting-of-a-double">this</a>, which seem to be asking similar things, but that question and similar ones involve limiting precision, don't involve UI elememts (which I am asking about), and are just overall not the answers I need.</p>
  
  <p>Sorry for a basic question, and thanks!</p>