BCD Conversion in .NET?

  • Thread starter Thread starter Stephen
  • Start date Start date
S

Stephen

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?
 
There is no built-in support for BCD in the platform.

--
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
 
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.

--
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.
 
Back
Top