Given the following:
string foo = "12345678";
Is there a built-in or easily obtainable function for converting foo
to a "BCD type" (if there is such)? Would such a conversion
automatically "fold" foo so that the result would only require 4 bytes
instead of the minimum (9?) otherwise required?
Just thinking about it some more, it seems that a BCD class would be
in order. How could I go about investigating the existance of same?
Would anyone care to speculate on the comparitive difficulties of
doing this in C as opposed to C++?
* KWQ/2 1.2i *
--- TMail v1.31.5
---------------
* Origin: Diablo Valley PCUG-BBS, Walnut Creek, CA 510/943-6238 (1:161/55)
|