in reply to •Re^4: decimal to binary conversion need help
in thread decimal to binary conversion need help

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.

  • Comment on Re^5: decimal to binary conversion need help