Skip to content

Instantly share code, notes, and snippets.

@xennygrimmato
Created August 9, 2016 08:01
Show Gist options
  • Save xennygrimmato/e92c5ac05505b03d24da02d08144e074 to your computer and use it in GitHub Desktop.
Save xennygrimmato/e92c5ac05505b03d24da02d08144e074 to your computer and use it in GitHub Desktop.
Java code in which modulo 1 operation is being performed
public class Mod {
public int modulo_one(int x) {
int rem = x % 1;
return rem;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment