• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Bug or feature?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug or feature?


  • Subject: Bug or feature?
  • From: "M. Carlson" <email@hidden>
  • Date: Tue, 14 Feb 2006 17:57:11 +0000

What number should variable 'fval' have after this is executed?

- (void) doit
{
   float fval=0.0;
   NSNumber *aNumber=nil;
   fval=[aNumber floatValue];
   NSLog(@"fval is %f",fval);
}


--M


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Bug or feature?
      • From: Bill Bumgarner <email@hidden>
    • Re: Bug or feature?
      • From: Andy Armstrong <email@hidden>
    • Re: Bug or feature?
      • From: Daniel Jalkut <email@hidden>
    • Re: Bug or feature?
      • From: Craig Altenburg <email@hidden>
  • Prev by Date: Re: Who's launching me?
  • Next by Date: Re: Core Data, transient ivars and undo
  • Previous by thread: Core Data and multiple stores
  • Next by thread: Re: Bug or feature?
  • Index(es):
    • Date
    • Thread