The Palm APIs does not support formatting of floating point numbers to strings. You will have to write your own code to do so. However, plenty of developers (myself included) had the same issues early on. A search of past posts will get you several examples you could use. There are also a few posted around the web. http://tangentsoft.net/palmfaq/articles/float.html is just one.
----- Original Message ----- From: "Lawrence Lau" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Monday, December 01, 2003 11:04 AM Subject: STRING header file in CW and atof > After I had included string header file in my code developing in CW v9.0 in > Windows XP and Visual Studio 6.0 (VC98), an error occurred: > -preprocessor error directive > -Only Mac or Win32 targets supported > in Sting header file > Does anyone know why? And, how to fix it? > How can I use atof or similar function to convert string to floating point > number in CW? > > > > > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/