Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
LEN() for numeric expresions
Message
De
30/10/2002 12:37:22
 
 
À
30/10/2002 12:33:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00716929
Message ID:
00716970
Vues:
21
Daniel,Larry,Héctor ;-)

This problem wasn't so tricky after all. My bad.

>
>FWIW, you could use PADR() which respects the decimals and also works in prior versions of VFP:
>
>x = 456.461
>x = x + .0010
>? x   && Prints 456.4620
>? transform(x)  && Prints 456.462 in VFP6
>?ALLTRIM(PADR(x, 20)) && Prints 456.4620 in VFP6
>
>
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform