static int MulDiv(int a, int b, int c)
 {
     return(AggMath.iround_f((float)a * (float)b / (float)c));
 }