मुख्य कंटेंट तक स्किप करें

Number.RandomBetween

दो संख्याओं के बीच की यादृच्छिक संख्या लौटाता है.

Syntax​

Number.RandomBetween(
bottom as number,
top as number
) as number

Remarks​

bottom और top के बीच की यादृच्छिक संख्या लौटाता है.

Examples​

Example #1​

1 और 5 के बीच की यादृच्छिक संख्या प्राप्त करें.

Number.RandomBetween(1, 5)

Result:

2.546797

Category​

Number.Random