Hi Sebastian
You can use
StrPrintF(NewCard.title,"Card %04d",number);
I think your problem will slove
rajasekhar
--- Sebastian from Berlin/Germany <[EMAIL PROTECTED]>
wrote: > Hey,
>
> i want to format a integer output to 4 digits.
> ("Card 0001","Card 0002" ...)
> i tried this one .. but i doesn't work ....
>
> StrPrintF(NewCard.title,"Card %4d",number);
>
> How is it done right ? Searched the net, but didn't
> found the
> answer :(
>
> Greets
> SL
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
>
> <knack> - Was ist das ? - Blaues Licht !
> Was macht es ? - Es leuchtet blau !
> [Rambo]
>
>
> --
> For information on using the Palm Developer Forums,
> or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
________________________________________________________________________
Want to sell your car? advertise on Yahoo Autos Classifieds. It's Free!!
visit http://in.autos.yahoo.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/