기본 Math 함수 설명 ceil, floor, round ( 올림, 버림, 반올림 )% (나머지) (ex: x%2==0 : x를 2로 나누어서 떨어지는 나머지와 0이 같은지 체크함) Math.abs(-1) // 절대값. 결과는 1 Math.sin(1) // sin 값. 결과는 0.841470984807897 Math.cos(1) // cos 값. 결과는 0.54030230586814 Math.tan(1) // tan 값. 결과는 1.5574077246549 Math.log(2) // log 값. 결과는 0.693147180559945 Math.exp(1) // 지수 값. 결과는 2.71828182845905 Math.sqrt(9) // 제곱근 값. 결과는 3 Math.pow(2 , 4) // 거듭제곱 ..