Is it only limited to 2^m * 5^n or we can try try to break it in 2^m * 3^n as well??
The fraction a/b
is a terminating fraction only if the denominator b
meets any of following conditions
(1) the denominator is a form of 2^n
(2) the denominator is a form of 5^m
(3) the denominator is a form of 2^n*5^m
If the denominator
is a form of 2^n*3^m ==> The fraction is not terminating decimal.
Hope it helps.
Please +1 KUDO if my post helps. Thank you.
"Designing cars consumes you; it has a hold on your spirit which is incredibly powerful. It's not something you can do part time, you have do it with all your heart and soul or you're going to get it wrong."
Chris Bangle - Former BMW Chief of Design.