• #### Re: Getting random numbers.

From V V V V V@21:1/5 to H e on Sun Jan 15 01:25:34 2023
Uuem versioon.

<html>
<body>
<div id="aa1" style="width: 100%;word-break:break-word;">
</div>
<script>
var a1=Math.random()*754234711;
a1=Math.round(a1*100000000)/1000000000;
for(var i=0; i<876; i++) {
var i01=i*0.731426267474109624769827343137436966346+0.01325343709641827386927342746234;
a1=a1*a1*2.68759619024378609842785463032;
if(a1<0.001) a1=a1+0.3346939018674269877173234896;
if(a1>10000000) a1=(a1%10000000)*0.03543987313198467428963279406273498673469234896;
var j=a1*0.543269746734721340921438965875*i01; j=Math.round(j*100000000)/100000000;
document.getElementById("aa1").append(j);
}
var aa001=document.getElementById("aa1").innerHTML; aa001=aa001.replace(/\./g,'');
aa001=aa001.replace(/\+/g,'');
aa001=aa001.replace(/e/g,'');
aa001=aa001.replace(/\-/g,'');
document.getElementById("aa1").innerHTML=aa001;
</script>

</body>
</html>

On Saturday, January 23, 2021 at 7:42:34 PM UTC+2, H e wrote:
Simpler:
<html>
<body>
<div id="aa1" style="width: 100%;word-break:break-word;">
</div>
<script>
var a1=Math.random()*101;
a1=Math.round(a1*100000000)/1000000000;
for(var i=0; i<9999; i++) {
var i01=i*0.01142626643966346+i*0.0260774037134+0.1325346234; a1=a1*a1*0.02060875985444033;
if(a1<0.001) a1=a1+0.0433469234896;
if(a1>10000000) a1=a1*0.000000439873469234896;
var j=a1*0.0432697460960975875*i01;
j=Math.round(j*100000000)/100000000; document.getElementById("aa1").append(j);
}
var aa001=document.getElementById("aa1").innerHTML; aa001=aa001.replace(/\./g,'');
aa001=aa001.replace(/\+/g,'');
aa001=aa001.replace(/e/g,'');
aa001=aa001.replace(/\-/g,''); document.getElementById("aa1").innerHTML=aa001;
</script>

</body>
</html>

He

Phone: 372 6861327
E-mail: ya12983 mail c o m

--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)