twosons
asked on
Binary convertion
Can anyone tell me how to convert decimal to binary in VB?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you very much "kamall". I knew the loop structure you have mentioned, but I was hoping to see if there is any other way to convert to binary, like "oct(number), hex(number)" in VB.
The usual way to do this is to see if it is odd then divide by 2 in a loop.