ilan Expert Licensed User Longtime User Sep 7, 2015 #1 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??
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??
ilan Expert Licensed User Longtime User Sep 7, 2015 #2 oopppss of course MOD !! B4X: Dim a = 11,b = 3,c As Int c = a mod b Log(c) Upvote 0