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
In reply to Re: Converting Binary to hex
by Laurent_R
in thread Converting Binary to hex
by Himaja
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |