math 썸네일형 리스트형 자바스크립트 Math 관련 함수 a = 1234.5678;Math.floor(a); //123 (버림) Math.round(a); // 1235 (반올림) Math.ceil(a); // 1235 (무조건 올림) 더보기 이전 1 다음