Write the number as a fraction over 1 if it is a whole number
For a terminating decimal, count the decimal places and place the number over 10, 100, 1000, and so on
Remove the decimal point to form the numerator
Simplify the fraction by dividing the numerator and denominator by their greatest common divisor
For a repeating decimal, set the number equal to a variable
Multiply to shift the repeating part
Subtract the equations to eliminate the repeating decimal
Solve for the variable to get the fraction
Simplify the fraction to lowest terms
For a mixed number, convert the whole number and fraction into an improper fraction
Check the result by converting the fraction back to a decimal if needed
