Skip navigation.
 
mlRe: Hexadecimal addition
FROM : Keary Suska
DATE : Tue Nov 06 23:20:30 2007

on 11/6/07 2:05 PM, <email_removed> purportedly said:

> It's normal integer addition you want to do -- the hex
> is just how it's displayed. You can get an integer out
> of a string with NSFormatter's scanHexInt:, and you
> can create a hex string representation of an integer
> with [NSString stringWithFormat:@"%x", anInteger]
> (though you might consider using an NSFormatter
> subclass to format the data for output rather than
> storing it that way, just as a thought).


Just to correct this, -scanHexInt: is a function of NSScanner--NSFormatter
has no such methods.

Best,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

Related mailsAuthorDate
mlHexadecimal addition deepak gopal Nov 6, 21:34
mlRe: Hexadecimal addition Charles Steinman Nov 6, 22:05
mlRe: Hexadecimal addition Keary Suska Nov 6, 23:20