• 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: Base Conversion?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Base Conversion?


  • Subject: Re: Base Conversion?
  • From: Dave DeLong <email@hidden>
  • Date: Sat, 16 Jul 2005 22:40:05 -0500

So I need to write my own.

Thanks, that's what I needed to know.  =)

Dave

On Jul 16, 2005, at 10:36 PM, Scott Ribe wrote:

Assuming you don't mind converting to & from plain C strings, for parsing,
you can use strtol. For display I don't know of a built-in function. The
usual approach is have a static array of 23 characters, loop building the
string up by num# and setting num=num\23 each time through...
_______________________________________________
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


References: 
 >Re: Base Conversion? (From: Scott Ribe <email@hidden>)

  • Prev by Date: Re: Base Conversion?
  • Next by Date: Podcast + Visualizer
  • Previous by thread: Re: Base Conversion?
  • Next by thread: Re: Base Conversion?
  • Index(es):
    • Date
    • Thread