Not related to programming but can someone please help me out? I need to write 0.45 as a fraction but the 5 is repeating? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Not related to programming but can someone please help me out? I need to write 0.45 as a fraction but the 5 is repeating?

6th Jun 2018, 1:56 AM
Comedy Co.
Comedy Co. - avatar
2 Answers
+ 1
x = 0.455555555.... 100x = 45.555555..... 100x-x = 45.5555555.... - 0.45555..... 99x = 45.1000000... = 45.1 990x = 451 x = 451 / 990 Your fraction is 451/990
6th Jun 2018, 2:22 AM
Gopal Gautam
Gopal Gautam - avatar
0
Gopal Gautam You can simplify your result fraction and obtain Jay Matthews result
6th Jun 2018, 9:13 AM
KrOW
KrOW - avatar