-
August 10th, 2007, 04:28 PM
#1
Find Opposite Binary number, Boole algebra....
Hello all,
if any of you knows, please tell me how can I transform a binary number in its opposite using VB.NET using (NOT, or one's complement) as following.
˜(10011010) == (01100101)
How can i use "Boole algebra" in VB.NET?
Help me please using an example program in NET (easy if posible).
Thanks all of you in advance
-
August 10th, 2007, 06:58 PM
#2
Re: Find Opposite Binary number, Boole algebra....
You answered your own question
Code:
Dim x As UInt16 = 1
Dim y As UInt16
y = Not x
Good Luck,
Craig - CRG IT Solutions - Microsoft Gold Partner
-My posts after 08/2015 = .NET 4.x and Visual Studio 2015
-My posts after 11/2011 = .NET 4.x and Visual Studio 2012
-My posts after 02/2010 = .NET 4.0 and Visual Studio 2010
-My posts after 12/2007 = .NET 3.5 and Visual Studio 2008
-My posts after 04/2007 = .NET 3.0 and Visual Studio 2005
-My posts before 04/2007 = .NET 1.1/2.0
*I do not follow all threads, so if you have a secondary question, message me.
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
|