On Monday 22 October 2001 18:49, you wrote: > I am using the following code to take a number and put > it into a string, but my issue is that if the number > is any then like 197, 397 or 297 I only went the last > two chars. How can I do it?? > > StrPrintF(regCode, "%d", sid);
what about StrPrintF(regCode, "%d", sid % 100 ); ? -- Daniel Morais -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
