Decimals and fractions both are ways of showing parts of a whole.
To convert a decimal to a fraction, follow these steps:
Write the digits in the decimal as the numerator.
Write as many zeroes after 1 in the denominator, as there were decimal places (digits to the right of the decimal point) in the decimal number.
Reduce the fraction to its lowest form.