Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple math problem
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01122177
Message ID:
01122209
Vues:
31
>>
>>? INT(VAL(RTRIM(TRANSFORM(140400),"0")))
>>
>>>
>Ok, the requirements are to remove trailing zeros. In other words, for
>0015000 we need 0015, not 15.

The numbers don't have leading zeros. If you're talking aboun strings, than
? RTRIM("0015000","0")
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform