Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
3 numbers after point
Message
 
 
À
19/06/2007 07:14:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01234191
Message ID:
01234192
Vues:
9
>hi all,
>
>i try to display 3 number without any round ,after point as character , i see 2 numbers all the time and roundit,
>
>i try to change this line aloan it works as numbers, but space as characters
>
>thank you for help.
>
>ex..
>lccurdaci=7798.697
>lccurdaci=RIGHT(ALLTRIM(STR(lncurrency,11,3)),3)
>? lccurdaci....7798.697
>
>

In this particular code change first line to be lnCurrency = 7798.697

Then the transformation should work. In other words, use different variables for number and for character display.
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform