Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing a dollar amount to a string?
Message
De
30/09/1999 14:09:54
Srinivasan Ashwath
Zeus Software Services
Hyderabad, Inde
 
 
À
30/09/1999 13:48:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00271203
Message ID:
00271225
Vues:
26
I think this would be an appropriate command to solve the problem
Say a = 12.45
then len(str(a)) = 2
and IF WE HAVE ONLY 2 DECIMAL PLACES then len(str(a)) +3 = 5
then
store str(a,len(str(a))+3,2) to c will return 12.45
Try it out.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform