you need to use the PadLeft string method
>Hi,
>How could I format numeric value to be fixed length string?
>For example, if I have value 1.00, 10.00 and 100.00, I want to output them in textfile/printer raw data as below
>
>
> 1.00
> 10.00
> 100.00
>
>Thank you
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com