There are three different situations, corresponding to the three types of decimal numbers: terminating, repeating and those which are neither terminating nor repeating.
Terminating: If the decimal number has d digits after the decimal point, then rename it as a fraction whose numerator is the decimal number without the decimal point, and the denominator is 10d or 1 followed by d zeros.
For example, 34.567
d = 3 so the denominator is 1000.
and the fraction is 34567/1000.
Repeating: Until you become expert at this I suggest you do this in two stages (using c and d separately). Suppose there are c digits after the decimal place where the digits are non-repeating, after which you get a repeating pattern of a string of d digits. Then the numerator is the old original string including one lot of the repeated digits minus the original string with none of the repeating digits. The denominator is 10c*(10d - 1), which is a string of d 9s followed by c 0s.
For example
123.26159159… There are 2 digits, "26", after the decimal point before the repeats kick in so c = 2, and the repeating string "159" is 3 digits long so d = 3.
So the numerator is 12326159 – 12326 = 12313833
and the denominator is 99900
Therefore the fraction is 12313833/99900.
Non-terminating and non-repeating: There is no way to get a proper fraction since, by definition, this is an irrational number. The best that you can do is to round it to a suitable number of digits and then treat that answer as a terminating decimal.
In all cases, you should check to see if the fraction can be simplified.
To convert a fraction to a decimal, divide the denominator into the numerator. Decimals don't have remainders.
You divide the numerator by the denominator.
One way to do it is to convert them to decimals.
0.125 as a fraction is 1/8 in its simplest form
To convert a fraction to a decimal divide the numerator (top number) by the denominator (bottom number). To convert a percentage to a decimal divide it by 100. (A percentage is the numerator of a fraction with 100 as the denominator.)
If you convert repeating decimals into a fraction, you see that the repeating decimals are rational.
To convert a fraction to a decimal, divide the denominator into the numerator. Decimals don't have remainders.
1/2
You divide the numerator by the denominator.
One way to do it is to convert them to decimals.
0.125 as a fraction is 1/8 in its simplest form
Two ways. Convert them to common denominators or convert them to decimals.
To convert a fraction to a decimal divide the numerator (top number) by the denominator (bottom number). To convert a percentage to a decimal divide it by 100. (A percentage is the numerator of a fraction with 100 as the denominator.)
To convert a fraction to a decimal, divide the top number by the bottom number.
That might refer to a fraction. In general you can convert decimals to fractions, and fractions to decimals.
They can show the same number, just in different ways. You can convert fractions into decimals or decimals into fractions.
To convert a percent to a decimal, divide by 100. 31% = 0.31 = 31/100