This little web site shows you how to convert numbers (up to 10 decimal places) to fractions, in simplified form.

Here's a random fraction:

Step 1: 0.642 = ^{642}/_{1000}

Step 2: Simplify ^{642}/_{1000} = ^{321}/_{500}