ceil() (2) 썸네일형 리스트형 수치 parseInt() Math.ceil() Math.floor() Math.round() http://bieber1984.blogspot.kr/2014/04/jquery_7.html- 버림 var and= parseInt(value); - 올림 var and= Math.ceil(value); 큰 정수값 - 내림 var and= Math.floor(value); 작은 정수값, 소수점이하 버림으로 생각할 수 없는 것이 마이너스쪽을 생각해야 함. - 반올림 var and= Math.round(value); 사사오입 java.util.* o Random http://mainia.tistory.com/630 o 자바스크립트 Math.ceil(Math.random() * n), 1 ~ n 사이의 정수 o DB 오라클 https://blog.naver.com/giriyo/221348970032 o java Random r = new Random(); int seed = r.nextInt(n +1); // nextInt() 에 의해 0 부터 n 까지 수치가 추출 [출처] 자바스크립트 랜덤 / 난수생성 (Math.random)|작성자 창공 ------------------------------------------------------------------- var $o = $('#id1 img[onClick^="getLoad"]'); var n.. 이전 1 다음