Math.ceil() - 올림 let a = 10; a = Math.ceil(a / 3); return a; a는 4가 출력된다. 3.333333의 올림이니까! Math.round() - 반올림 let a = 10; a = Math.round(a / 3); return a; a는 3이 출력된다. 3.33333의 반올림이니까! Math.floor() - 내림 let a = 10; a = Math.floor(a / 3); return a; a는 3이 출력된다. 3.33333의 내림이니까! 소숫점의 경우 //function(변수 * 소숫점 자릿수) / 소숫점 자릿수 let a = 10.66666; const ceil = Math.ceil(a * 10) / 10; // ceil = 10.7 const ceil ..