JAVA/JSP

java Math.random() 특정영역

ddakker 2010. 5. 7. 10:27
int ramdomInt = (int) (Math.random() * (899999999 - 800000000 + 1)) + 800000000;