Forgive me for asking yet another floating-point question, but I've
searched the archives and not found an answer.
I'm developing an app that includes floating-point input/display and
calculations, and needs to run on OS 1.0 and higher. I've been using the
FplAToF function to convert from ui fields to floating point nums, but I'm
finding the reverse to be painful. Using FplFToA, I get a string that's in
scientific notation, but I'd like to be able to truncate the string length
and specify the number of decimal places to display.
There was some mention of a FloatToString function in the archives, but I
haven't been able to find the code. Does anyone know where the sample code
lives? Will this allow me to specify decimal places?
Thanks!
Jaba Adams
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/