Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG: VFP it mistakes to make the sums.
Message
De
12/06/2003 08:52:51
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00798979
Message ID:
00799305
Vues:
31
Hi Larry,

1. N(17,6) is 15 digits for negative and 16 digits for positive
test this
CREATE CURSOR TEST (n N(9,6))
APPEND
You can insert -9.999999 and 99.999999.

However
CREATE CURSOR TEST (n N(13,6))
FOR I=1 TO 1000000
   INSERT INTO TEST VALUES (0.100000)
NEXT
SELECT SUM(n) sumn FROM test INTO CURSOR result

? sumn,1000000*0.1000
Reproduce the problem.

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

Click here to load this message in the networking platform