Jump to content
Tuts 4 You

VB.NET 08 - signed & unsigned values


deepzero

Recommended Posts

Posted

Hi,

I am stuck at converting a negative signed value to an unsigned value in vb.net 2008:

e.g.

signed: -1111111

unsigned: 4293856185

I am trying to do a "NEG" operation...

any ideas?

deep0 :)

Posted

Something like this?


i = -1111111
j = Convert.ToUInt32(&H100000000 + i)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...