Minor bug.
git-svn-id: http://google-refine.googlecode.com/svn/trunk@1020 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
parent
8046c63a8a
commit
a9f77d0f51
@ -16,7 +16,7 @@ public class Mod implements Function {
|
|||||||
args[0] != null && args[0] instanceof Number &&
|
args[0] != null && args[0] instanceof Number &&
|
||||||
args[1] != null && args[1] instanceof Number) {
|
args[1] != null && args[1] instanceof Number) {
|
||||||
int a = ((Number) args[0]).intValue();
|
int a = ((Number) args[0]).intValue();
|
||||||
int b = ((Number) args[0]).intValue();
|
int b = ((Number) args[1]).intValue();
|
||||||
|
|
||||||
return a % b;
|
return a % b;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user