Created
August 9, 2016 08:01
-
-
Save xennygrimmato/e92c5ac05505b03d24da02d08144e074 to your computer and use it in GitHub Desktop.
Java code in which modulo 1 operation is being performed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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