Re: doubles not behaving
Re: doubles not behaving
- Subject: Re: doubles not behaving
- From: Sherm Pendley <email@hidden>
- Date: Sun, 13 Jun 2004 01:17:31 -0400
On Jun 13, 2004, at 12:38 AM, Kodex wrote:
Ok, maybe i am missing something here but why does
this not output the same thing as the input?
double num;
num = [serial doubleValue];
NSLog(@"Serial = %d", num);
%d is the format specifier for ints and long ints. %f is for floats and
doubles.
sherm--
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.