By the time it shows up as an argument to your subroutine, it's not decimal any more. It's just a "number".
This is wrong, as I've just pointed out in my other answer. In my subroutine, it is a string.
In reply to Re^5: decimal to binary conversion need help
by ambrus
in thread decimal to binary conversion need help
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |