Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PADL() weird translation
Message
De
01/03/2003 02:36:23
 
 
À
01/03/2003 02:26:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00759865
Message ID:
00759867
Vues:
28
Michel,
lnNumero=1
? PADL(lnNumero,6,'0')   && Returns 000001

lnNumero=1.00
? PADL(lnNumero,6,'0')   && Returns 001.00
Your lnNumero is not integer. So...
lnNumero=INT(lnNumero)
? PADL(lnNumero,6,'0')   && Returns 000001
>I have a weird translation returned by PADL(). I have a value of 1 assigned to lnNumero. Then, I do the following:
>
>
>? PADL(lnNumero,6,'0')
>
>
>The result is 001.00. Anyone can explain me why?
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform