Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining the number of decimal places of a variable?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Determining the number of decimal places of a variable?
Divers
Thread ID:
00759689
Message ID:
00759689
Vues:
57
Does anyone know of a way to determine the number of decimal places of a numeric variable or of a way to return the correct number of decimals as a String?

I can't find a function to determine how many decimals are stored in the variable.

for example:
n = 20.000
? n            && returns 20.000
? TRANSFORM(n) && Returns 20
I'm feeling pretty stupid not be able to figure this one out.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform