• 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: image arithmetic
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >image arithmetic (From: Amy Gibbs <email@hidden>)

  • Prev by Date: image arithmetic
  • Next by Date: Re: Detecting reading a key in KVC
  • Previous by thread: image arithmetic
  • Next by thread: Re: image arithmetic
  • Index(es):
    • Date
    • Thread