Steve,
Your problem seems to be the complement of one that we had.

We found that in Universe 10.1.10, comparisons of strings of numbers are
treated as if they were numbers and not strings. E.g.
X= "50001.10"
Y= "50001.1"
x EQ y returns TRUE

We implemented the following to fix it.
IF CONVERT('.','',x) EQ CONVERT('.','',y) THEN

This may or may not help.

Eric Armstrong
Programmer/Analyst
Lobel Financial
714.816.1207
714.995.7012 fax


-----Original Message-----
From: Steve Ferries [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 07, 2006 8:47 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2][UV] Why does the IF statement think these values are
different?


HI All,

I added the statement PRECISION 15 at the start of the program.
The program fails the comparison.

I then tried PRECISION 2 at the start of the program and it fails the
comparison.

If I create a simple program using the values the program compares, they
are the same.

It does look like the values must be different, but are not apparent by
just looking at them in DEBUG.

How do I 'see' the true values the code is comparing?

Thanks,
Steve
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to