Colin, Thank you, I'd completely forgotten about Float.Precision.
Changing from (the default) setting of zero to any of the other settings (1-4) sorts it out - although it took three passes through the HELP to understand some of the other implications. I'm just slightly amazed that something this simple fails on the default setting and that I don't recall seeing this in UniData before, but I must have because the LOGIN paras in my clients' production accounts include it - Doh !!! Piers -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: 29 March 2006 15:46 To: u2-users@listserver.u2ug.org Subject: RE: [U2] RE: UniBasic code that should work In UniData see HELP FLOAT.PRECISION. Here is a website that explains some of the problems with using floating point math: <http://www.cygnus-software.com/papers/comparingfloats/comparingfloats.htm>. ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/