Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best way to extract length,decimal of a numeric field
Message
 
 
À
11/03/2000 11:13:45
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00344461
Message ID:
00344591
Vues:
23
Hi Michel & Rex,

How about
?len(substr(transform(12345.567891),at('.',transform(12345.567891))+1))

HTH

>How about COPY STRUCTURE EXTENDED?
>
>Just a thought
>
>Rex
>
>>Assuming I know the name of a field and if it is numeric or not. With those two values, what would be the best way to extract the length and the decimal value of that field from the field structure?
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform