Date: Thu, 28 Mar 2024 17:48:14 -0700 (PDT) Message-ID: <1032410098.363.1711673294158@wiki.srpcs.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_362_785761200.1711673294158" ------=_Part_362_785761200.1711673294158 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Generates a random value.
Syntax
Result =3D SRP_Mat= h("RANDOM", Min, Max, DecimalPlaces, ScientificNotation)
A random number between the given Min and Max.
The RANDOM operation generates a random number. Random numbers will not = be less than Min nor more than Max. If you omit these values, then they def= ault to 0.0 and 1.0 respectively.
You can specify RAND for short.
// Generate a rand= om decimal number between 0.0 and 1.0 RandomNumber1 =3D SRP_Math("RANDOM")=20
// Generate a rand= om decimal number between 0.0 and 1.0, abbreviating the operation name RandomNumber2 =3D SRP_Math("RAND")
// Generate a rand= om number between 1 and 100, rounded to the nearest integer RandomNumber3 =3D SRP_Math("RANDOM", 1, 100, 0)
// Generate a rand= om number between 100 and 100,000, truncating the decimal RandomNumber4 =3D SRP_Math("INT", SRP_Math("RANDOM", 100, 100000))