|
-
July 5th, 2010, 06:58 AM
#1
Convert int of unknown number of bits to 32 bits int
Hi all,
need some help, trying to convert a integer of unknown number of bits to a 32 bit.
For example: 2196550012
Can you some how drop the least significant bits after the 32nd bit?
So you get a new integer with only 32 bits, this I assume will get me a new value for the integer, but I hope it will be approximately the same as before.
Can't find any threads on on this subject, you are welcome to direct me towards one =)
Thank you!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|