Method rint(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
double v = Math.rint(tv.get(s)*Math.pow(10.0, precision))/
2
precisionUnit[i] = Math.pow(10, Math.rint(Math.log(Xma - Xmi) / Math.log(10)));
3
return new Integer((int)Math.rint(d.doubleValue()));
4
(Math.rint(((Double)o).doubleValue()*Math.pow(10.0, precision))/Math.pow(10.0, precision));
5
retVal[i][j] = Math.rint(factor * body[i][j]) / factor;
6
int numPow10 = (int) Math.rint( (Math.log(base.getMaxBounds()[i] /
7
int random = (int)Math.rint(diff * Math.random());
8
ngrid = (int) Math.rint(1.0 / step);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.