Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Converting doubles to strings



You could do something like:
CFStringRef myString = CFStringCreateWithFormat(kCFAllocatorDefault, NULL, CFSTR("%f"), myDouble);

Ian


Using NumToString(), I can put an integer into an Edittext box . How can I do the same with a double (essentially the reverse of CFStringGetDoubleValue())?

Allan Seago
Course organiser B.Sc Music Technology (Audio Systems)
LONDON METROPOLITAN UNIVERSITY
41 Commercial Road
London E1 1LA
Tel: 0207 320 2841

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden

References: 
 >Converting doubles to strings (From: Allan Seago <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.