Why can't you just follow the coding sample (PalmOS reference SDK-4 page 834) ?
I checked that all functions used there are 2.0 compatible. Unless you are targeting 1.0... M. -----Original Message----- From: Max Bian [mailto:[EMAIL PROTECTED]] Sent: Thursday, 13 December 2001 1:32 PM To: Palm Developer Forum Subject: RE: Printing numbers according to SystemPreference well, it doesn't do the thing directly. It requires the number string have the thousand and decimal seperators already. If I can get that point, I would rather roll my own. :( Max --- Michael Glickman <[EMAIL PROTECTED]> wrote: > StrLocalizeNumber ? > Never tried it though . > > M. > > -----Original Message----- > From: Max Bian [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 13 December 2001 1:20 PM > To: Palm Developer Forum > Subject: Printing numbers according to SystemPreference > > > Hi. > > I am trying to print the date and time according to the system preferences. > I > have done that using DateToDOWDMFFormat and TimeToAscii. These function > accepts dataFormat and timeFormat that I pull off the preference using > PrefGetPreferences(). > > My question is, how do I do the same for a number? I can get the preference > with no problem but I don't know which function I can use to print it. If > there is no similiar function like the ones for time/data, I can roll my > own. > > Thanks. > > Max > > __________________________________________________ > Do You Yahoo!? > Check out Yahoo! Shopping and Yahoo! Auctions for all of > your unique holiday gifts! Buy at http://shopping.yahoo.com > or bid at http://auctions.yahoo.com > > -- > For information on using the Palm Developer Forums, or to unsubscribe, > please see http://www.palmos.com/dev/tech/support/forums/ > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please > see http://www.palmos.com/dev/tech/support/forums/ __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
