Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG ? BUG ? BUG ?
Message
De
11/08/1999 05:36:20
Amit Abhangrao
Charmi Software Exports
Mumbai, Inde
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Conférences & événements
Titre:
BUG ? BUG ? BUG ?
Divers
Thread ID:
00252396
Message ID:
00252396
Vues:
59
Hi All,

Try the following, and see the result.

Set deci to 2
MyNumber = 133.46+ 133.46+ 133.46+ 133.46+ 133.46
** The above total comes to 667.30
MyResult = MyNumber - 667.30
?Empty(MyResult) && Check whether value is empty or not

If you see the value of Empty(MyResut). By the above calculation, it should come to .T. BUT it will give .F.

?MyResult = 0

This will come to .t.

(If you see decimals the result is 667.300000000000100000)

HELP

Amit
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform