Subject Re: Problem with int() function
From Ken Mayer <dbase@nospam.goldenstag.net>
Date Fri, 2 Dec 2016 09:02:50 -0800
Newsgroups dbase.getting-started

On 11/30/2016 6:29 PM, Larry Winkler wrote:
> I was doing a simple input check and came up with an issue:
>
> ? 460/5  comes up with 92 (correct)
> ? int(460/5) comes back with 91 (incorrect).
>
> Anyone else notice this?

Check information on high precision math in dBASE Plus ... this is
discussed in The dBASE Book Plus, and even in The dBASE Book in volume 2
(for the third edition, for the second edition it's all one volume).

Ken


--
*Ken Mayer*
Ken's dBASE Page: http://www.goldenstag.net/dbase
The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm