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.668 = ^{668}/_{1000}

Step 2: Simplify ^{668}/_{1000} = ^{167}/_{250}