Hello,

I'm writing an application using double. I'm reading datas from serial
port (GPS NMEA input) and receive some infos, particulary float/double
as string. I'm trying to convert this string ("111.0") to a double
value. I've tried an example taht I found in news :

FlpCompDouble    palmDouble;
double            myDouble;

palmDouble.fd = FlpAToF ("111.0");
myDouble = palmDouble.d;

I receive a value of 0.9xxx something. What's wrong ?

Do anyone know another method to convert float/double -> string or
string -> float/double ?

I need double to use MathLib.

Many thanks for any help.

Didier Kuttel

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to