Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing a dollar amount to a string?
Message
 
À
30/09/1999 13:29:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00271203
Message ID:
00271238
Vues:
21
>my_amt = 12.45
>my_amt = str(my_amt)
>
>When I change my dollar amount of 12.45 to a string, I loose the
>decimal point values. When I do a (?my_amt) it shows the 12
>and I loose the .45.. Could someone tell me what happend to the
>deciaml values?

Robert,

Read the help file for STR() and you see that it has more than one argument.

This place would be much more productive for you if you would read the help file before posting here. You will find your answers in there more often than not and leave this place for the real questions.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform