Monday, May 24, 2010

How do i convert a number in binary to decimal using visual basic code?

If it is in a variable, just print it.


If it is a binary string, you multiply each position by its power of 2 and sum them


No comments:

Post a Comment