I\'m trying to find the nth digit of an integer of an arbitrary length. I was going to convert the integer to a string and use the character at index n...
n
(number/intPower(10, n))%10
just define the function intPower.
intPower