-
IP4 number generator
I’ve got this expression running, but I need leading zeros if any of the values fall beneath 100. Any suggestions?
a = random(198,255).toFixed(0);
b = random(000,255).toFixed(0);
c = random(000,255).toFixed(0);
d = random(000,255).toFixed(0);
a + " :" + b + ":" + c + ":" + d;