Hello everyone!
I have a question regarding cast operators and data loss, specifically converting from int to byte.
If I start out with 200 as an int variable, and convert it to a byte shouldn't I get -72, since the first binary digit of value "128" is used to determine the sign. For some reason, I am not getting -72, but -56 instead. Could someone help me resolve this discrepancy?
Thank you very much!