Newbie to python...
Currently I'm writing a code for physics calculator, mirror especially, the formula of the mirror is 1/s + 1/s' = 1/f.
Example, I want to input the number to the s' is 3 and the f is 1.2
1/s + 1/3 = 1/1.2
...and now I wanted the LCM between them to be known but since LCM in python can't work with float numbers, only integer. So, how do I make math.lcm works with float numbers?
I use python 3.9.13