Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Decimal Places
Message
De
20/12/1999 10:17:33
 
 
À
20/12/1999 09:45:47
Amit Abhangrao
Charmi Software Exports
Mumbai, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00306105
Message ID:
00306123
Vues:
33
Try this:
len(substr(allt(padr(130.9898,20)), at(".", allt(padr(130.9898,20)) )+1 ) )

substitute your variable in place of the number in the expression above. The function "PADR() or PADL() or PADC()" converts the number as is rather than rounding or truncating like STR() does.

I hope this works.

Regards

Leonard
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform