Or do all the arithmetic in internal format (as you consultant is sort of recommending in a round about way).
I know it shouldn't affect anything else but I always worry about changing a system setting to fix a problem in one program. It might have a reverse effect (unlikely in this case I know) on other programs. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruce Nichol Sent: 08 October 2004 07:36 To: [EMAIL PROTECTED] Subject: Re: [U2] Why is this statement failing? (UniVerse) Goo'day, Some advice... Treat it as you may..... Try setting WideZeo (via Config editor) to 0x3eb00000 Always works for us.... HTH At 15:28 09/10/04, you wrote: >On Thursday 07 October 2004 6:46 am, Gordon Glorfield wrote: > > What was the exact error message you were getting? > > No error message, just results where int(88.04 * 10000) did not equal > (88.04 * 10000) > > Basicly it looks like this code was meant to accept 88.04, but not 88.042 > > > What else has changed? > > After a little more investigation, and help from this newsgroup, I think >the problem is in the wide0 UniVerse setting. > > > New version? Is this UD or UV? I need more information to be able to > > offer any advice. > > This is all on version 10.1.0 and 10.1.2(I believe) of UniVerse. > > > BTW your work-around is not the same as the original. I would expect > > entirely different results from the two. > > Yes, you are right... I was hasty. An IBM consultant working on this same >project recommended mulitplying these floats by 100, then adding .5, and >testing the INT() value after that. What do you think? >------- >u2-users mailing list >[EMAIL PROTECTED] >To unsubscribe please visit http://listserver.u2ug.org/ > > > >-- >Incoming mail is certified Virus Free. >Checked by AVG Anti-Virus (http://www.grisoft.com). >Version: 7.0.271 / Virus Database: 264.10.0 - Release Date: 05/10/04 Regards, Bruce Nichol Talon Computer Services ALBURY NSW 2640 Australia Tel: +61 (0)411149636 Fax: +61 (0)260232119 If it ain't broke, fix it till it is! -- Outgoing mail is certified Virus Free. Checked by AVG Anti-Virus (http://www.grisoft.com). Version: 7.0.271 / Virus Database: 264.10.0 - Release Date: 05/10/04 ------- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ The information contained in this email is strictly confidential and for the use of the addressee only, unless otherwise indicated. If you are not the intended recipient, please do not read, copy, use or disclose to others this message or any attachment. Please also notify the sender by replying to this email or by telephone +44 (0)20 7896 0011 and then delete the email and any copies of it. Opinions, conclusions (etc.) that do not relate to the official business of this company shall be understood as neither given nor endorsed by it. IG Markets Limited and IG Index Plc are authorised and regulated by the Financial Services Authority and, in Australia, by the Australian Securities and Investments Commission. ------- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
