in reply to Converting Binary to hex
your $binadddr variable is assigned to a decimal integer, not to a binary integer.
If you expect $binaddr to be a binary integer, then you should use:
$binadddr = 0B100010
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Converting Binary to hex
by Himaja (Novice) on Sep 30, 2016 at 06:15 UTC | |
by Laurent_R (Canon) on Sep 30, 2016 at 06:20 UTC |