I have this line:
binary[index] = (tempDecimal % 2) + '0';
Could you explain the usefulness of + '0'
in this line of code for me?
I have this line:
binary[index] = (tempDecimal % 2) + '0';
Could you explain the usefulness of + '0'
in this line of code for me?