0

Hello all, is there by any chance that this “ round(random()*9999999) “ function will generate les than 7 digits? for example generating some zeros or something that would lead to generate les than 7 digits ?

asked

Khalil Resheq

1 answers

1

Hi Khalil,

Yes there is, albeit to be small. If you require it to be exactly 7 digits, I would recommend you max(1000000, random()*9999999)

answered

Nico Mouton