Link Search Menu Expand Document

Random numbers

Table of contents

  1. Generation of random numbers

Generation of random numbers

/** Generators */
filterManager.install(
  closet.recipes.generateInteger({ tagname: 'gen' }),
  closet.recipes.generateReal({ tagname: 'genr' }),
)
Number between 0 and 10: [[gen::0,10]]
Real number between 0 and 10: [[genr::0,10]]