title: How to Calculate Recurring Digits?
body: <p>Given two integers <code>a</code> and <code>b</code>, how would I go about calculating the repeating decimal of <code>a / b</code>? This can be in any language; whatever it's easiest for you to express it in.</p>