>>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
i can not reproduce this behavior. i have tried all different variations - with and without variables, int(). i always get 4.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement