Understand the method
Count the digits after the decimal point. For 0.625, there are three digits, so write 625/1000. Then reduce the fraction by dividing numerator and denominator by their greatest common divisor: 625 ÷ 125 = 5 and 1000 ÷ 125 = 8. Therefore 0.625 = 5/8. The same method works for negative decimals; keep the negative sign with the numerator.