Yup I will definitely use pack unpack next time. I saw that before but I thought I should not have any problem with sprintf. I did manage to work my way through using substr but I do think pack unpack would work nicer. Thanks
In reply to Re^2: Converting negative number to binary with specific width
by pjkang7
in thread Converting negative number to binary with specific width
by pjkang7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |