• 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: how to convert double to int?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to convert double to int?


  • Subject: Re: how to convert double to int?
  • From: Clayton John <email@hidden>
  • Date: Tue, 13 Nov 2007 12:27:24 +0100

that would be:

	double sourceValue = 10.5;
	int destValue = (int)sourceValue;



--
John Clayton

On 13 Nov 2007, at 12:23, amine ahmadi wrote:

Dear All,

I am looking for a source code that lets me convert
the type double to the int type.

Thanks for your feedback.

Best regards,

Amine


______________________________________________________________________ _______
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
_______________________________________________


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:
40mac.com


This email sent to email@hidden

_______________________________________________

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: 
 >how to convert double to int? (From: amine ahmadi <email@hidden>)

  • Prev by Date: Re: Resetting of property values after completion of a CABasicAnimation
  • Next by Date: how to convert double to int with objective c?
  • Previous by thread: how to convert double to int?
  • Next by thread: how to convert double to int with objective c?
  • Index(es):
    • Date
    • Thread