Math 클래스

q6hillz·2022년 4월 17일
0

javascript

목록 보기
27/60
post-custom-banner

Math.random()

The Math.random() function returns a floating-point, pseudo-random number in the range 0 to less than 1 (inclusive of 0, but not 1) with approximately uniform distribution over that range

Math.round()

The Math.round() function returns the value of a number rounded to the nearest integer.

0개의 댓글