B4J Question % (Modulus) ??

ilan

Expert
Licensed User
Longtime User
in java i can divide 2 integers and ask for the remainder,

like:

int a = 11,b = 3, c;
c = a % b
System.out.println(c);

c should be 2

how can i do it in b4x??
 
Top