Skip to content

storeRandomNumber (Math & String functions)

Compatible with:
  • Purpose
  • This command is used to generate a random number with the specified integer. It also accepts a range of integers (hyphen separated with or without spaces before and after the hyphen). 
  • When the range of integers is provided as the target in the 'X - Y' format, the Y has to be greater than X. The target for this command can only of the format 'X' or 'X - Y' where X and Y are integers. 
  • Patterns like 'X - " or " - Y" or "X - Y - Z" or "2.5" or "3.5 - 10.9" is NOT supported
  • Syntax
  • storeRandomNumber(Integer or range, variableName)
  • Target
  • Integer or range - ( for integer, the number of digits the command should generate(less than 10))
  • Value
  • variableName
  • Return Value
  • N/A
 

Feedback and Knowledge Base