i1 %= f1;
i1 is a float
f1 is a double
i know the mod operator has to be in int.
so would
Code:(((int)(i1) %= (f1));
|
Results 1 to 2 of 2
Thread: Converting to int
|
Click Here to Expand Forum to Full Width |