Board index » Visual Studio » ASCII to binary conversion
|
Hans-Gerd
|
ASCII to binary conversion
Visual Studio261
Hi there, I need to do an ASCII to 10 bit binary conversion and have no idea how to do so, unfortunately its for my job so any help/guidance would be greally appreciated. My set up is this: I have a vertical list of decimal numbers (some are negative and others are in E-n format) which i have imported into Excel, and using VB have arranged it into a table. I can use the Excel command of =DEC2BIN(C3,10) to convert to 10 bit binary but I cant do it in VB (which it needs to be in). As an advancement on this I then need to convert the binary to 16 Bit Binary and from there onto 10bit, 12bit and 14bit ASCII. As i say I have no idea how to do this and so any help would be great. Thanks Phillip - |
