Re: converting from decimal to hexadecimal
Re: converting from decimal to hexadecimal
- Subject: Re: converting from decimal to hexadecimal
- From: "Shawn Erickson" <email@hidden>
- Date: Tue, 2 Sep 2008 09:53:14 -0700
On Tue, Sep 2, 2008 at 9:45 AM, Ronnie B <email@hidden> wrote:
> Is there an easy way to convert a decimal number to hexadecimal.
> NSNumberFormatter does not have an api for that. Any advice.
'man 3 printf' in terminal and look for the "x" and "X" conversion specifiers
You can use those with -[NSString stringWithFormat: ...] or any other
printf format taking method.
-Shawn
_______________________________________________
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