title: How to round an NSDecimalNumber in swift?
body: <p>I can't find any resources on this, and I've been trying all sorts of stuff, but nothing works.</p>
  
  <p>According to Apple's documentation, you round an NSDecimalNumber like this:</p>
  
  <pre><code>NSDecimalNumber.decimalNumberByRoundingAccordingToBehavior(&lt;#behavior: NSDecimalNumberBehaviors?#&gt;)
  </code></pre>
  
  <p>It takes in an NSDecimalNumberBehavior, which I'm unsure how to manipulate since it (1) cannot be initiated into a variable and have it's properties changed, and (2) the roundingMode() method according to the documentation doesn't take any parameters, but Xcode fills in a parameter space for "self".</p>
  
  <p>I'm totally lost on this. Back to the basic question; How can I round an NSDecimalNumber in swift?</p>
  
  <p>Thanks in advance</p>