There is no built-in support for BCD in the platform.

Signature
HTH,
Kevin Spencer
Microsoft MVP
Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net
> Hello,
>
> Is there a way in .NET to do a BCD conversion on a long binary string? Or
> am I going to have to break this up piece by piece?
As Kevin says, you have to write the code. However, it will be
straight-forward. Natually, the actual implementation depends on what "long
binary string" means. If this is actual binary, the code will be not
resemble -- closely, the code that would be used to convert an ASCII coded
hex string.

Signature
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.
Stephen - 19 Jul 2007 23:39 GMT
Thanks for the words folks. I figured it out.
> As Kevin says, you have to write the code. However, it will be
> straight-forward. Natually, the actual implementation depends on what
> "long binary string" means. If this is actual binary, the code will be
> not resemble -- closely, the code that would be used to convert an ASCII
> coded hex string.