Created
June 8, 2011 22:56
-
-
Save jaydonnell/1015651 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Number returnGreater(Number value1, Number value2) { | |
if (value1.doubleValue() > value2.doubleValue()) { | |
return value1; | |
} else { | |
return value2; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment