I like to thank all of you for the information.
Cheers
Fawaz
--- Robert Colquhoun [EMAIL PROTECTED] wrote:
At 12:58 PM 5/03/2004, you wrote:
That is because UV (and I presumed UD) work on
two's complement integers, so
the top bit flips you between a positive and a
negative integer. This is
INT( AMOUNT ) ?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Fawaz Ashraff
Sent: Thursday, March 04, 2004 2:43 PM
To: U2 Users Discussion List
Subject: RE: [UD] 8 Bite Integers
Hi David,
Thanks for the info. May be I didn't explain my
problem correctly
.
-Original Message-
From: Fawaz Ashraff [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 04, 2004 1:43 PM
To: U2 Users Discussion List
Subject: RE: [UD] 8 Bite Integers
Hi David,
Thanks for the info. May be I didn't explain my
problem correctly. I have a Unidata numeric field
(Amount- 100.00
List
Cc: Logan, David (SST - Adelaide)
Subject: RE: [UD] 8 Bite Integers
Hi David,
Thanks for the info. May be I didn't explain my
problem correctly. I have a Unidata numeric field
(Amount- 100.00 or -100.00) and I need to convert it
to a 8 Bite integer so that Informix will recognise
it.
Cheers
At 12:58 PM 5/03/2004, you wrote:
That is because UV (and I presumed UD) work on two's complement integers, so
the top bit flips you between a positive and a negative integer. This is why
I work the algorithm with 8 bit blocks, so that bit 1 in the 32 bit integer
is never 1 and so BITAND works as