다음을 통해 공유


Number.Random

문법

Number.Random() as number

소개

0에서 1 사이의 난수를 반환합니다.

예제 1

난수를 가져옵니다.

사용법

Number.Random()

출력

0.919303