title: Converting NSNumber to NSString issue
body: <p>I know this is an issue that is already been asked a thousand times but of the few posted examples I've tried, I'm stilling running into issues. </p>
  
  <p>Right now I'm trying to display a value to my debug log of an object that holds the data I need as an NSNumber. What I was trying was the following line of code:</p>
  
  <pre><code>NSString *distanceString = [NSString stringWithFormat:@"%d", (NSNumber)self.selectedBeacon.distance ];
  </code></pre>
  
  <p>However, with the above I get the following error:</p>
  
  <blockquote>
    <p>Used type 'NSNumber' where arithmetic or pointer type is required</p>
  </blockquote>
  
  <p>So then I tried the following:</p>
  
  <pre><code>NSString *distanceString = [NSNumber self.selectedBeacon.distance];
  </code></pre>
  
  <p>But when I went to type <code>self.selectedBeacon.distance</code> the line didn't appear in my intelisense. So for my third attempt I've tried the following line;</p>
  
  <pre><code>NSString *distanceString = [NSString stringWithFormat:@"%d", [NSNumber self.selectedBeacon.distance]];
  </code></pre>
  
  <p>But the error I get is this;</p>
  
  <blockquote>
    <p>Expected ']'</p>
  </blockquote>
  
  <p>Though I can see i have two closing brackets so that error has thrown me. Can anyone please help me on this? </p>