Re: (no subject)
Re: (no subject)
- Subject: Re: (no subject)
- From: Hank Heijink <email@hidden>
- Date: Mon, 27 Nov 2006 09:50:37 -0500
Get the value with -intValue, then cast it to a float or a double.
On Nov 27, 2006, at 5:13 AM, Ronny Reichmann wrote:
I created a NSNumber object with an int value. When I read out the
value as double or float it is completely different from the
integer value. How can I get the right value?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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
Hank Heijink
www.hankheijink.com
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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
References: | |
| >(no subject) (From: Ronny Reichmann <email@hidden>) |