StrPrintF does not support floating point numbers directly. You should use the GetStringFromDouble() that you mentioned.
"Thomas Sweeney" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I have a floating point number, such as 3.1234567, which I want to print out as just 3.12. > > Can I use sprintf or do I need to use one of the various functions (pDouble or GetStringFromDouble) which I've seen on this forum over the last few weeks. > > Thanks in advance > Thomas > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
