Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing leading zeros
Message
 
À
11/08/1999 12:15:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00252593
Message ID:
00252614
Vues:
9
>Try ALLTRIM(STR(VAL('004'))). That will eliminate the leading zeroes. I hope this helps.

I would suggest using LTRIM instead of ALLTRIM - single function. Converting numerics will not produce trailing spaces so no need to trim them! I know I'm fussy!!
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform