Fast Code to find a multiple of a number?
Hello i'm working on an objective-c project and i need to find the first multiple from a number  from a base number. For example: The first multiple of 3 from 7, 9!. My first attempt was to do this:

    multiple = baseNumber
    while(multiple%number !=0 )
        multiple++

At the end, "multiple" will have the first multiple of "number" from baseNumber. The problem is that when "number" becomes too large, the number of iterations becomes too many. So my question is: is there a faster way to do this?

Thanks.
Fast Code to find a multiple of a number?
===

Hello i'm working on an objective-c project and i need to find the first multiple from a number  from a base number. For example: The first multiple of 3 from 7, 9!. My first attempt was to do this:

    multiple = baseNumber
    while(multiple%number !=0 )
        multiple++

At the end, "multiple" will have the first multiple of "number" from baseNumber. The problem is that when "number" becomes too large, the number of iterations becomes too many. So my question is: is there a faster way to do this?

Thanks.