Random number generator with range

  1. The problem

Before I used such structure on my php generator
@type”: “AggregateRating”,
“ratingValue”: "{{@L_RANDNUM(5,9)}}.{{@L_RANDNUM(1,9)}}», - here for example output 6,8
“ratingCount”: "{{@L_RANDNUM(1000,9999)}}» - this macros for gen num from 1000 to 9999, for example output: 4625

Need same for SCM

SCM global macro random_number can now generate between a number range.


eg: Inside JSON product



Numbers are randomly generated between a range.