Have a look at <http://www.40-below.com/palm/index.html#fp>

This may help you understand, especially the string to double and double to
string routines.

Regards,
Bazza

-----Original Message-----

hi

i'm new to palm programming and a little lost because many things that work
in ANSI C don't on the Palm.
for example, string formats: how do i write a floating point number into a
string, like 

sprintf(buf, "%.2f", floatnum);

it doesn't seem to work at all, buf then contains "%f". how do i perform
this correctly?



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

Reply via email to