Let's say that we want to turn 0.034 into a fraction. you first want to times your decimal number by ten for every digit you have after the decimal. so, for example, we would take 0.034, and times it by ten three times like this. 0.034 * 10 * 10 *10 = 34. you could also just multiply it by 1000 in this case, But for every digit add a zero to the end of your number. Then we divide that by all the tens multiplied together, or we could just divide it by 1000. That leaves us with 34/1000.
if you want to simplify your fraction, then, you want to find the greatest common factor or GCF for short for both of the numbers or in other words find the biggest number that can fit in both 34 and 1000. in this case, the number happens to be 2. you want to then take your 2 numbers and divide them by your GCF so take 34/2 and 1000/2 and that will give us 17/500 and there you go that's how you turn a decimal into a fraction.