Converting Unsigned to Signed

dmc1980

Active member
Joined
Feb 7, 2005
Messages
33
Programming Experience
5-10
Im slowly loosing the plot today, for the life of me i cant think how to do this.

Im reading values in from a PLC, and displaying them on a mimic screen developed in vb.net.

Some of the values are able to be negative, but when they come in from the plc they are unsigned, as in value from plc is 65436 which should be -10.

So question is, how do i convert 65436 to a signed integer in vb.net

thanks in advance folks

darren
 
Back
Top