Subject Re: Problem with int() function
From Andy Taylor <andy.taylor@which.net>
Date Fri, 02 Dec 2016 12:52:55 -0500
Newsgroups dbase.getting-started

Larry,

As Ken says elsewhere look at high precision.

set HighPrecision on
? 4.60/.05  gives 92

The moment you start using fractions in a calculation then you need to think about unexpected results
and INT() is prone to this... Floor() can be used to check ....
or you can use round()
or switch high precision on.

Andy  

> it was 4.60/.05 not 460/5 (sorry)