Solved dividing

Discussion in 'Plugin Development' started by rob1998@, Jan 15, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    rob1998@

    Hi
    I want to divide 1 by 12 and multiply the answer with another integer.
    But when I do int factor = 1/12;
    it returns zero, is it because of rounding?
    please help me fix this!
     
  2. Offline

    Henzz

  3. Offline

    rob1998@

    still not working
     
  4. rob1998@ likes this.
Thread Status:
Not open for further replies.

Share This Page