Hi all,

I am storing negative Int32 values in a database.
When checking the stored value  for -11 I find
FF FF FF F5 which looks OK to me. (Hi bit set
so a negative value).

But when I read the value back into a Int32 variable
I get the value 1953785202

Can anyone help me with these two questions:
Why does the signed int not return a negative value?
And in what way can I get the correct negative value?

Thanks
Bert Ruiterkamp



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to