Hello,

1) I'd like to find how many times I should add a number with a fraction until it adds up to a whole number:

Given that fraction is 1.3

1.3 * x = a, where a = int(a), or fractionalpart(a) = 0

How do I find x?

2) My final problem is a bit more complex. I have two fractional numbers and I'd like to find the smallest whole number they both will come to.

1.3 * x1 = b

1.4 * x2 = b

b = int(b)

I have three unknowns and three equations, so it should be straight forward, but I'm not sure how to use the third equation. I think the first part of my question has the key to this part.

Thanks.