By Kardi Teknomo, PhD .

< Previous | Next | Content >

Decimal to Fraction Interaction Program

Input a number or a list of numbers separated by comma or space. The numbers input are in decimal format with a period to separate the integer part from the fractional part. The interactive program below will convert the decimal to the nearest fraction. The computation is based on continued fraction which produces much better result than Euclidean algorithm.

Input