The program attempts to convert a floating point number into its ratio representation.
fraction-to-ratio.exe 0.25
1/4
fraction-to-ratio.exe -0.25
-1/4
fraction-to-ratio.exe 1
1
fraction-to-ratio.exe 2
2
fraction-to-ratio.exe 0
0
fraction-to-ratio.exe 0.333
333/1000
fraction-to-ratio.exe 0.3333
1/3