Value of a digit in a decimal number