Linux.com

Newsvac

Converting Binary Numbers To Decimal The Hard Way On Linux Or Unix

July 18, 2008 (5:30:00 PM) -  4 months ago

Share    Print    Comments   

If you recall a while back, we looked at using Perl's "unpack" function to easily convert binary values to decimal and convert decimal back to binary. Those were both (some folks may consider) relatively sophisticated methods of tackling the problem. Although, once you understand how "unpack" works, the first becomes incredibly simple to use and understand. The other one may always be a little awkward.
Read more at: linuxshellaccount.blogspot.com

Share    Print    Comments   



 
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya