kth digit in a number