Give this a try. One caveat--it doesn't round up the least significant digit. Also, you can probably get rid of the overflow stuff at the end.

Regards,
Steve Mann

Hi again and thanks for all replies,
after taking a closer look I see that you're the author of "Advanced Palm Programming", which I have (german version), and where I found sourcecode for StringToDouble and DoubleToString functions (one of them you posted).


After unsuccessfully trying to somehow use sprintf() (I still don't get it), I'll stick to your functions. Must have been a reason why you wrote them in the first place.

So thanks,

Jan


-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to