Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to set numeric format programatically
Message
De
21/10/2004 06:43:02
 
 
À
21/10/2004 06:32:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00952502
Message ID:
00953246
Vues:
13
Thanks, Tim but you should be telling Hee Lim,

I've used Transform() myself but it doesn't truncate trailing zeroes from fractions, as declared (see Fred Taylor's last message). Your approach looks promising. I was too busy to work something out similar for Hee Lim.


>I've always used Alltrim(Str(lnTimzNum,lnTotalLength,lnDecimalPlaces)) in my code previously. It allows you to specify the decimal places, however it is more strict than Transform() as it will only accept a numeric value
>
>I've been looking at some of the formatting things associated with Transform() now though. Maybe there's something in there which would help
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform