Re: image arithmetic
Re: image arithmetic
- Subject: Re: image arithmetic
- From: Sherm Pendley <email@hidden>
- Date: Wed, 10 Nov 2010 08:44:27 -0500
On Wed, Nov 10, 2010 at 8:35 AM, Amy Gibbs <email@hidden> wrote:
>
> //calc image width
> float width = 300 / ki;
> NSLog(@"Width: %@",width);
Width isn't an object. Use %f to print a float.
sherm--
--
Cocoa programming in Perl:
http://camelbones.sourceforge.net
_______________________________________________
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