Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!uunet!mcsun!ukc!strath-cs!str-va!cnas09 From: cnas09@vaxa.strath.ac.uk Newsgroups: comp.databases Subject: Clipper round() problem Message-ID: <1991Jun27.095337.11969@vaxa.strath.ac.uk> Date: 27 Jun 91 09:53:37 GMT Article-I.D.: vaxa.1991Jun27.095337.11969 Organization: Strathclyde University VAX Cluster Lines: 12 Can anyone explain the (to me) rather peculiar behaviour of the round() routine in Clipper 5? If you do something like round(37*1.175, 2) then round() correctly reports 43.48 but using round(39*1.175, 2) gives 45.82 when it should have rounded it up to 45.83! Am I missing something here? Aaron Ferguson EE Dept University of Strathclyde