Is there a formula to convert a decimal to a fraction?
Here you go :
https://www.mathsisfun.com/converting-decimals-fractions.html