Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Decimal bug
Message
 
À
13/03/2003 14:23:00
Todd Cottengim
Alpine Land Information Services
Redding, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Divers
Thread ID:
00765485
Message ID:
00765545
Vues:
20
Don't you have lnValue somewhere in used tables as a field name?
What if you release m.lnvalue, release lnvalue before running the example?
What if you quit VFP, erase foxuser.dbf/fpt resource files and run VFP again?

>>I tried the following lines:
>>m.lnValue = INT(nX / nY)
>>?m.lnValue
>>
>>If SET DECIMAL is less than or equal to 10 I get 4
>>If SET DECIMAL is greater than or equal to 11 I get 3.99999999996
>
>Sorry, I screwed up that last message.
>
>I have tried the following:
>m.lnValue = INT(nX / nY)
>?m.lnValue
>If SET DECIMAL is less than or equal to 10 I get 4
>If SET DECIMAL is greater than or equal to 11 I get 3
>
>I then tried the following - NOTE: No INT()
>m.lnValue = nX / nY
>?m.lnValue
>If SET DECIMAL is less than or equal to 10 I get 4
>If SET DECIMAL is greater than or equal to 11 I get 3.99999999996
>
>TC
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform