Step02_example9(Math.random, Math.floor)


Step02_example9(Math.random, Math.floor)

랜덤한 숫자를 얻을 수 있는 방법이다. Math.random() 0이상 1 미만의 랜덤한 실수 Math.random()*10 0이상 10 미만의 랜덤한 실수 Math.floor(숫자) 내림해서 정수로 변경 Math.floor(Math.random()*10) 0이상 9..

Step02_example9(Math.random, Math.floor)에 대한 요약내용입니다.

자세한 내용은 아래에 원문링크를 확인해주시기 바랍니다.


원문링크 : Step02_example9(Math.random, Math.floor)