Question:
Hello.
Pardon me for being a bit ignorant of the basic technique for getting the least common denominator...
Suppose you have a set of numbers in your internal table acting as divisors for a later computation. You need to get the common factor of all the numbers, because simple averaging will make the result inconsistent to the user.
The lower limit is 1, upper limit: 12.
Any suggestions to put it in code?
Answer:
Hi,
If you need to know how to find the LCD (Lowest Common Denominator) then this hyperlink will give you the maths algorithm:
http://www.mathwizz.com/fractions/help/help2.htm
So all you have to do is code that method into ABAP!
Best of luck!
Answer:
Thank you so much. I'll translate the said method in ABAP.