Here's your challenge: Create a Ti-basic program that, given a fraction, will determine an arbitrary digit of the fraction's decimal expansion. Input will be in N,D, and G (for Numerator, Denominator, and diGit). Output will be in Ans, preferably displayed.
Example:
1->N:8->D:3->G:prgmA
5
Done
3->N:7->D:5->G:prgmA
7
Done
You may use any valid commands. Range should be as large as possible. The shortest program wins (i.e. the less bytes the better).