songhansol.log
로그인
songhansol.log
로그인
Math.round() - 반올림
송한솔
·
2023년 5월 8일
팔로우
0
메서드
0
숫자를 반올림해주는 메서드
var
num
=
3.283434
;
var
roundNum
=
Math
.
round
(
num
)
;
// 3
송한솔
1234
팔로우
이전 포스트
Math.floor() - 내림
다음 포스트
Math.round() - 반올림
0개의 댓글
댓글 작성