in reply to Re: Converting negative number to binary with specific width
in thread Converting negative number to binary with specific width
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Converting negative number to binary with specific width
by BrowserUk (Patriarch) on Nov 05, 2015 at 18:18 UTC |