BigBeachBanana
Senior Member
- Joined
- Nov 19, 2021
- Messages
- 2,277
I've recently come across an article from geeksforgeeks on how to find the LCM of decimal numbers. The suggested solution is as follows:
Find the LCM of 3, 2.7, 0.09.
Step 1: Convert to integers by multiplying by 100 -> 300, 270, 90
Step 2: Find the LCM via the prime factorization method -> 2700
Step 3: Divide by number of decimals moved in step 1 -> 2700/100 = 27.
This result is sensical as the example is conveniently chosen as a multiple of 3's. However, applying the same steps to something such as 27.2, 28.612, and 29.36 the result is 71,404,107.20
This result appears silly but seemingly correct. How to make sense of this?
Find the LCM of 3, 2.7, 0.09.
Step 1: Convert to integers by multiplying by 100 -> 300, 270, 90
Step 2: Find the LCM via the prime factorization method -> 2700
Step 3: Divide by number of decimals moved in step 1 -> 2700/100 = 27.
This result is sensical as the example is conveniently chosen as a multiple of 3's. However, applying the same steps to something such as 27.2, 28.612, and 29.36 the result is 71,404,107.20
This result appears silly but seemingly correct. How to make sense of this?