title: Decimal to Binary - Objective C
body: <pre><code>- (int)makeBinary:(int)toChange{
  
      int inNumber;
      int outNumber;
      NSString *outputString;
      outputString=@"";
      int temp;
  
      inNumber=toChange;
  
      for (int b=0; b&lt;=7; b++) {
          temp=inNumber%2;
          inNumber=(inNumber-temp)/2;
          outputString=[outputString stringByAppendingFormat:@"%i", temp];
      }
  
          outNumber=[outputString intValue];
  
      return outNumber;
  }
  </code></pre>
  
  <p>That works fine, but how can i reverse the output?</p>