Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Padding a number
Message
 
To
13/10/2003 14:46:28
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00838243
Message ID:
00838257
Views:
25
This message has been marked as the solution to the initial question of the thread.
>I would like to convert the following to VB.NET:
>
>
>PADL(tnNumero,6,'0')
>
--- if tnNumero is an int

Dim foo As String = ""
foo = tnNumero.ToString().PadLeft(6, "0")

Morgan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform