SyntaxFix
Write A Post
Hire A Developer
Questions
There is a function is the math library called signnum.
http://www.tutorialspoint.com/java/lang/math_signum_float.htm http://www.tutorialspoint.com/java/lang/math_signum_double.htm