Returns a random number between the 'min' and 'max' parameters, and rounds the result if 'round' is true
This function gets a random number between the min and max values. It also rounds the result if the round parameter is true. The number will be returned as an integer, so you'll need it to convert it to a string in order to display it as a string.
min: integer
This parameter is what the minimum amount the random number can be is.max: integer
This parameter is what the max amount the random number can be is.round: boolean
This parameter is what tells if the random number should be rounded.
getRandomNumber(1, 10, true)
3
This function can be used when you have installed our 'project' package in 'package-installer' or
if you include the script file at https://example.com/otherscriptfile.js.