in reply to How do I convert from decimal to 2's Complement
sub dec_bin2s { return unpack "B8", pack "c", shift; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: How do I convert from decimal to 2's Complement
by mdillon (Priest) on Apr 08, 2002 at 06:34 UTC |
In Section
Seekers of Perl Wisdom