GetNumberInBetween

Returns a random number in between 2 numbers

Arguments

Label
Explained
Type
Example

first_num

number

0.123154

second_num

number

0.00312

Why just not use math.random as it's easier?

This functions allows the use of decimals, which math.random doesn't allow.

Does it matter which is bigger and which is smaller?

No, you are free to put them in any order, just preferably the bigger one first.

Last updated