I can't seem to get this figured out, or I already made it work but somewhere in my code is another bug...

My question is, can someone translate this C++ code

```
if (!fmod(x[i][j], 1) && x[i][j]) {

```

to the Java equivelent.
The variable x has doubles in it's list.

Thanks alot for your help!