サンプル

public class ClassA {
int i;
int j;
public void methodA {

j= i % 1;

}

}
ソリューション 結果は必ず 0 になるため、modding 式の使用を見直します。