Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is this a PADL bug?
Message
De
26/07/2002 09:28:20
 
 
À
26/07/2002 09:21:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00682949
Message ID:
00682951
Vues:
22
n = 0
?PADL(STR(n),2,"0")
Hi, Randy, that´s not a problem with PADL(). You may take a look that Str(n) will return a string with 10 characters. You may have to do something like this:
n = 0
?PADL(Alltrim(STR(n)),2,"0")
or, by using Transform(), like this:
n = 0
?PADL(Transform(n),2,"0")
Claudio Lassala
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform