Method abs(float a)
Return type: float
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 (Math.abs(a-b) <= epsilon);
2 return new Float(Math.abs(rnd.nextFloat()));
3 if (Math.abs(index - (float) iSize) <
4 if ( Math.abs(diff) - MARGIN_OF_ERROR > 0 ) {
5 rectangularWidth = Math.abs(llx - urx);
6 if (Math.abs(uIndex - (float) iSize) <
7 } else if (Math.abs(expected - actual) <= delta) {
8 cb.setLineWidth(Math.abs((float)currentPen.getPenWidth() * scalingX / extentWx));
9 float maxDiff= (float)Math.abs(maxVal-minVal);
10 (metrics.getAscent() + Math.abs(metrics.getDescent()));
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.