On Nov 11, 2005, at 5:58 PM, David A. Lyons wrote:
On Nov 11, 2005, at 1:10 PM, Stephen Chu wrote:
I tried CFNumberFormatterGetValueFromString to convert a string to
floating number. It happily accepts string like "1.2.aa" and
converts it to 1.2 and returns true. Is there any way to report
such error?
Yes, you have to examine the CFRange* parameter after the call to
see how much of the string it used.
Great. Thanks. I missed that part when I read through the header.
_______________________________________________
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