Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Format a field to not show trailing Zeros in decimals.
Message
De
04/08/2000 08:46:52
Tom Gahagan
Alliance Computer Solutions
Thomaston, Georgie, États-Unis
 
 
À
04/08/2000 05:54:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00400906
Message ID:
00400954
Vues:
14
Tim,

Try this.....
set decimals to 10
mtest=45.1234000000
mval=alltrim(str(mtest,45,10))
mx=substr(mval,1,(at("0",mval)-1))
?mx
Tom Gahagan
Alliance
Computer Solutions

"Music, like sex, is much too important to be left to professionals."
Robert Shaw
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform