Method abs(double a)
Return type: double
Member of: java.lang.Math
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 return (float) Math.abs( (value) * oneUnitPixelSize );
2 return (Math.abs(a-b) <= epsilon);
3 return(int)(Math.ceil((double)_totalIdle/Math.abs((double)_numTestsPerEvictionRun)));
4 (int)Math.abs((Extent[2]-Extent[0])*DX)+1,
5 degrees = Math.abs(180-Math.abs(angle1-angle2));
6 Math.abs(result - expectedResult) <= tolerance);
7 if (Math.abs(value - scale) > 0.001) {
8 if (Math.abs(getScale() - value) > 0.001) {
9 float scale = (float)Math.sqrt(Math.abs(transform.getDeterminant()));
10 return new Double(Math.abs(d.doubleValue()));
11 n1 = Math.abs(n1);
12 return new Double(Math.abs(rnd.nextDouble()));
13 if (x == 0 & Math.abs(y) < 10 * eps)
14 assertTrue(Math.abs(xbar)/(s/Math.sqrt(n))< 3.29);
15 final double m = Math.abs(d);
16 double[] ratio = {Math.abs( (double) (mouseCurent[0] -
17 if (Math.abs(numeratorValue) > Integer.MAX_VALUE ||
18 if( Math.abs(sz-c1) > 1e-2 ) {
19 final double abs = Math.abs(number);
20 double largest = Math.max(Math.abs(_xMin), Math.abs(_xMax));
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.