Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Padding a number
Message
 
 
À
13/10/2003 14:59:45
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00838243
Message ID:
00838427
Vues:
22
>>Dim foo As String = ""
>>foo = tnNumero.ToString().PadLeft(6, "0")
>
>Thanks, this worked great.
>
>I remember in VB there wasn't. So, I wasn't sure if one was in .NET.

<Shameless plug> Of course, Download#9800 has all that functionality for VB6. </Shameless plug> :)
~Joe Johnston USA

"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform