here is an example- 0.05 would that convert to 5/100 or 50/100 or 5/10?
A method that always works is the following. Let x equal your decimal, in this case x = 0.05. Now what do you have to do to this equation to eliminate the decimal? In our case, multiply both sides by 100, so
100*x = 5
Thus, x is 5/100, or 1/20, whichever form suits your purpose.
Sometimes, the method is a little tricky. For example, suppose the decimal is the infinite string 0.33333... In this case, my equation is x = 0.333333... If I multiply both sides by 3, the equation becomes
3*x = 0.9999999...
Now the trick is you need to know that 0.999999.... is just another way of writing 1. So the equation is really 3*x = 1, and x = 1/3.