Math.pow(x, y) x의 y승
Math.round(x) 반올림
Math.ceil(x) 소수점 올림
Math.floor(x) 소수점 내림
Math.random(x) 0~1 사이 랜덤 함수, 소수점
Math.sqrt(x) 제곱근 (root)
'javascript' 카테고리의 다른 글
getBoundingClientRect() Method (0) | 2019.01.02 |
---|---|
익명함수 (0) | 2017.08.16 |
Math.pow(x, y) x의 y승
Math.round(x) 반올림
Math.ceil(x) 소수점 올림
Math.floor(x) 소수점 내림
Math.random(x) 0~1 사이 랜덤 함수, 소수점
Math.sqrt(x) 제곱근 (root)
getBoundingClientRect() Method (0) | 2019.01.02 |
---|---|
익명함수 (0) | 2017.08.16 |