title: NSUserDefault Error. Int is appearing as a string when called
body: <p>I am working on an app that involves the use of NSUserDefaults. I have successfully saved two strings and am currently trying to save an int.   </p>
  
  <p>This is the code</p>
  
  <pre><code>var number = Int(0)
  
  override func viewDidLoad() {
      super.viewDidLoad()
  
  let numberOne = NSUserDefaults.standardUserDefaults()
      numberOne.setValue(number, forKey: "num")
  
  let numberTwo = numberOne.stringForKey("num")
  
  if numberTwo &gt; 1
      {
         //will insert code later
      }
  </code></pre>
  
  <p>my error is that numberTwo is appearing as a string. This is my first time experimenting with NSUserDefault so, I am a novice but, any help is appreciated.</p>