Recurring decimal to fraction
Do you have any idea that there is one very easy solution to convert a decimal number with recurring numbers to a fraction
- Take a number like 7.5678787878...
- As we can see, that 78 is repeating.
- So, take 9 for each repeating digit... 99 for our example.
- Take 0 for each non repeating number after the decimal point... 2 0's for 56 & append to the 9's considered.
- 9900 should go to the denominator.
- In the numerator, subtract the number made out of all the individual numbers which are not repeating from the complete number without the recurrence.
- (75678-756)/9900 is the solution...
No comments:
Post a Comment