arsch loch wrote:
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?

thx

Take a look in the forum's archives. This has been discussed many times. There are some implemented funcions availabe that will solve your problem.


        Luciano

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

Reply via email to