Automate

Automate

Make your phone or tablet smarter with automation

Get it on Google Play

random

numeric random(bound)

Returns a pseudo-random value.

If bound is supplied then a random integer between 0 and bound-1 is returned, otherwise a random decimal number between 0 and 1 is returned.

Parameters

  1. bound — optional exclusive upper bound of the random integer to be returned, either a bigint or coerced number, default is to return a decimal number.

Returns

  • a pseudo-random value, as bigint if argument is, otherwise number.
Note! This documentation is also accessible within the app from Help & feedback menu.