List of utility methods to do Abs
double | abs(Double a) Abs. return Math.abs(a);
|
double | abs(double d) abs return d < 0 ? -d : d;
|
double | abs(Double d) calculate the absolute value of a double if (d < 0) { return -1 * d; } else { return d; |
double | abs(double d1) abs return d1 < 0d ? -d1 : d1;
|
double | abs(double n) abs return Math.abs(n);
|
double | abs(double number) abs return (number <= 0.0D) ? 0.0D - number : number;
|
double | abs(double number) Returns the absolute value return number < 0.0D ? -number : number;
|
double | abs(double self) abs return Math.abs(self);
|
double | abs(double value) abs return Math.abs(value);
|
int | abs(double value) abs if (value == 0) return 0; if (value > 1) return 1; return -1; |