title: NSDecimalNumber question for core data and iPhone
body: <p>I'm fairly new to core data and iphone programming.  Maybe this is an obvious answer, so if anyone can point me to a tutorial or other resource, it's greatly appreciated!
  I have a core data entity that is a decimal type as it's dealing with currency, and everything I have read says to use NSDecimalNumber when dealing with currency.  That being said, I cannot for the life of me figure out how to set the value when inserting a new object.  Here is what I have</p>
  
  <pre><code>NSManagedObjectContext *moc = [self.fetchedResultsController managedObjectContext];
  Envelope *envelope = [NSEntityDescription insertNewObjectForEntityForName:@"Envelope"
                                                  inManagedObjectContext:moc];
  [envelope setValue:@"Envelope 1" forKey:@"name"];
  NSDecimalNumber *budgetNumber = [NSDecimalNumber decimalNumberWithDecimal:1.00];
  [envelope setValue:budgetNumber forKey:@"budget"];
  </code></pre>
  
  <p>What am I doing wrong here?
  thanks in advance!</p>