Without knowing what you were working with, I'm afraid it will be difficult to answer your question. Sorry!
Are you able to provide an example? Thank you!
A decimal is a fraction written in a different way. Count from the decimal point to the last place to the right of the decimal point. Each place has a fractional value.
1st place - tenths
2nd place - hundreths
3rd place - thousandths
4th place - ten-thousands
5th place - hundred-thousandths
0.03125 means 3125 hundred-thousands or since there are 5 places to the right of the decimal.
Now reduce the fraction to by dividing the numerator by the greatest common factor of 3125.