Can somebody please explain how do I turn decimals into fractions?

https://www.mathsisfun.com/converting-decimals-fractions.html