Sorry, Max I now see what you mean. You need to stuff it with thousand separators before you can change it with StrLocalizeNumber. Look rather weird indeed.
Well, you know the trick probably better than me. Separate integral part (if needed), take %1000 and /1000 in a loop ... unless someone has something better. It could be really a FAQ somewhere. Too many apologies during last few days. Well, probably its better than ignoring messages. Michael -----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/
