Jump to content
Tuts 4 You
Sign in to follow this  
deepzero

VB.NET 08 - signed & unsigned values

Recommended Posts

deepzero

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 :)

Share this post


Link to post
kao

Something like this?


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

Share this post


Link to post

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
Sign in to follow this  
×
×
  • Create New...