• 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
Re: How tell tell if an NSNumber was initialized from a float or int?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How tell tell if an NSNumber was initialized from a float or int?


  • Subject: Re: How tell tell if an NSNumber was initialized from a float or int?
  • From: Manfred Schwind <email@hidden>
  • Date: Mon, 28 Jun 2010 11:49:27 +0200

> However, I can't figure out how to determine if the NSNumber was initialized with an int or float.


NSNumber *myNumber = ...;
CFNumberIsFloatType((CFNumberRef)myNumber);

Regards,
Mani
--
http://mani.de - friendly software
iVolume - listen to music hands-free
LittleSecrets - the encrypted notepad
Sahara - sand in your pocket
Watchdog - baffle the curious

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How tell tell if an NSNumber was initialized from a float or int?
      • From: Kyle Sluder <email@hidden>
References: 
 >How tell tell if an NSNumber was initialized from a float or int? (From: Jaime Magiera <email@hidden>)

  • Prev by Date: Unstuffing my build
  • Next by Date: Re: Unstuffing my build
  • Previous by thread: Re: How tell tell if an NSNumber was initialized from a float or int?
  • Next by thread: Re: How tell tell if an NSNumber was initialized from a float or int?
  • Index(es):
    • Date
    • Thread