Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET DECIMALS TO (Not working)
Message
De
08/12/2004 18:02:37
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
SET DECIMALS TO (Not working)
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00967897
Message ID:
00967897
Vues:
55
I need to set the number of decimals to 9, but it's not working, it always show 4 decimals after a division.

SET DECIMALS TO 9
MESSAGEBOX(STR(SET("Decimals"))) && it shows 9
? lnCIF/lnFOB && This shows only 4 decimals, are being rounded

What do i have to do to get 9 decimals.


This code is in the method of a form.

The weird thing is that if i add this code to the click event of the form, it works fine.

Can someone helpme please.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform