home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!psgrain!hippo!shrike.und.ac.za!pc17.cc.und.ac.za!lotter
- From: lotter@cc.und.ac.za (Eddie Lotter)
- Newsgroups: bit.listserv.dbase-l
- Subject: Re: HELP ! HELP ! Clipper bug ??????!!
- Date: Wed, 6 Jan 1993 11:15:04 GMT
- Organization: University Of Natal (Durban)
- Lines: 16
- Message-ID: <lotter.135.726318904@cc.und.ac.za>
- References: <01GT5ZU1G02A9KM5XN@URC.TUE.NL> <1993Jan5.181101.17859@murdoch.acc.Virginia.EDU>
- NNTP-Posting-Host: pc17.cc.und.ac.za
-
- jw2b@galen.med.Virginia.EDU (Sara J. Wagner) writes:
- >There is a known problem with floating point errors in Clipper -- I've
- >bumped into it before. Tech Support suggested using val() and str()
- >to force the math to behave. Try something like val(str(var3)) ==
- >(val(str(var1)) + val(str(var2))) and see if that helps.
-
- This can still cause inaccuracies! Be even more explicit with Str()
- and specify the number of decimals. e.g.
-
- ? str(var3,8,2) == ( str(var1+var2,8,2) )
-
- Cheers
- Eddie lotter@cc.und.ac.za
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Without forgiveness, no-one would have a social life.
- - Alfred Capus
-