Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
INT() returns unexpected value
Message
From
14/09/2006 13:02:25
 
 
To
14/09/2006 12:16:10
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01153755
Message ID:
01153765
Views:
12
>Just wondering if anyone run into the following problem:
>
>INT(1333365.89000*100) return 133336588 this should be 133336589
>INT(333365.89000*100) return 33336589 expected
>INT(11333365.89000*100) return 1133336589 expected
>
>Does anyone have any ideas why the first scenario the last digit is different?
>
>Thanks !

Ttry INT( ROUND(1333365.89000,3)*100)
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Reply
Map
View

Click here to load this message in the networking platform