Curious:
If you want to perform string comparisons, such as comparing bin locations,
why not:
VAL1 = "43008E-112"
VAL2 = "43008E-108"
IF (" ":VAL1 = " ":VAL2) THEN
CRT "THIS IS STRANGE"
END
Regards, Ian R.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marilyn Hilb
Sent: Wednesday, January 12, 2005 10:26 AM
To: [email protected]
Subject: RE: [U2] [UV]Strange But True
I had this same problem with our bin locations that contained an E. I ended
up swapping E for X before doing the compare to get the results I wanted.
Thanks,
Marilyn A. Hilb
Value Part, Inc
Direct: 847-918-6099
Fax: 847-367-1892
[EMAIL PROTECTED]
www.valuepart.com
-----Original Message-----
From: Louis Windsor [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 12, 2005 6:20 AM
To: [email protected]
Subject: Re: [U2] [UV]Strange But True
I don't know if it is intentional but the values you are comparing
are exponential.
So the comparison is of two incredibly small numbers. The
numbers are so small they are equal for all intents or purposes.
My 2c worth.
Louis
----- Original Message -----
From: "Bjorn Behr" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, January 12, 2005 7:08 PM
Subject: [U2] [UV]Strange But True
: Uv Version: UniVerse 10.1
: OS : Windows 2003 Server
:
: Can anybody explain. I wrote a small program and the result has baffeled
me.
:
: Program:
:
: VAL1 = "43008E-112"
: VAL2 = "43008E-108"
: IF (VAL1 = VAL2) THEN
: CRT "THIS IS STRANGE"
: END
:
: It returns THIS IS STRANGE. Does anybody know why?
: ________________________________________________________________________
: Regards
: Bjvrn Behr
: Programmer
:
: HYFLO Southern Africa (Pty) Ltd
: Tel : +27 11 386 5800
: Fax : +27 11 444 5391
: Mail: [EMAIL PROTECTED]
: WWW : http://www.hyflo.co.za
: ________________________________________________________________________
: -------
: u2-users mailing list
: [email protected]
: To unsubscribe please visit http://listserver.u2ug.org/
:
:
:
:
: --
: Internal Virus Database is out-of-date.
: Checked by AVG Anti-Virus.
: Version: 7.0.296 / Virus Database: 265.6.8 - Release Date: 3/01/2005
:
:
--
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 265.6.8 - Release Date: 3/01/2005
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
--
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.289 / Virus Database: 265.6.5 - Release Date: 12/26/2004
--
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.289 / Virus Database: 265.6.5 - Release Date: 12/26/2004
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/