Math Antics - Convert any Fraction to a Decimal - YouTube.
If I understand correctly, you have a floating point number (a float or double type variable), and you'd like to output this value as a fraction. If that is the case, you need to further specify your question: A FP number is a fraction, by definition: A FP number consists of two integers, a mantissa m and an expontent e (and a sign, but that's irrelevant here).
Write 0.6 as 0.60, which is 60 hundredths. 60 hundredths is 60 percent. You can also move the decimal point two places to the right to find the percent equivalent. To write 0.6 as a fraction, you read the decimal, 6 tenths, and write 6 tenths in fraction form.
Converting from a Decimal to a Fraction. Now converting from a decimal to a fraction is a bit more challenging depending on the figures. It might be simply putting the percentage over the place that the last digit in your decimal is. Take 0.76, there are two digits in this number. The last digit is in the hundredth place. There is not much to do except to put the 76 over the 100 in a fraction.
In algebra, a decimal fraction is a fraction whose denominator is 10 or a multiple of 10 like 100, 1,000, 10,000, etc. Fun Facts Decimal fractions were first developed and used by the Chinese in the end of 4th century BC, and then spread to the Middle East and from there to Europe.
Every fraction can be converted to a decimal by dividing. If you use the calculator to divide 3 by 4, you'll find that it is equal to 0.75. Here are some other fractions and their decimal equivalents. Remember, you can find the decimal equivalent of any fraction by dividing. Here are some terms that are very important when working with fractions. Proper fraction When the numerator is less than.
Convert from a Fraction to a Decimal Fractions and decimals represent the same things: numbers that are not whole numbers. This page will show you how to convert from a fraction, into a decimal.
Note: If you have a repeating decimal, you can rewrite it as a fraction! Check out this tutorial to learn how to convert a repeating decimal into a fraction.