Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Number of decimal places
Message
De
02/10/2010 12:33:18
 
 
À
02/10/2010 11:24:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01483618
Message ID:
01483628
Vues:
79
This message has been marked as a message which has helped to the initial question of the thread.
This formula returned the correct answer for the values I tested:
?Len(Chrtran(Transform(xx),Set("Point"),''))-Len(transform(Int(xx)))
>I'm sure there is an obvious answer but it's the weekend ...
>
>Given a numeric variable which may or may not have digits after the decimal point, what would be the quickest way to know the number of digits that occur after decimal point, zero or more?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform