nt batch for large numbers random

Lenovo / C200
May 31, 2009 at 05:15:05
Specs: Windows XP PRO
How can I create a NT batch for large random numbers generator?
The largest number is 15,380.931.

Thank you in advance.


See More: nt batch for large numbers random

Report •


#1
May 31, 2009 at 05:37:26
Randomness is a whole other art; maybe witchcraft. Depending on your needs, this may get you started.

===========================
@echo off & setLocal EnableDelayedExpansion

for /L %%a in (1 1 100) do (

set num=!random!!random!!random!!random!
set num=!num:~0,8!
set /a big=!num!%%15380931
echo !big!
)


=====================================
If at first you don't succeed, you're about average.

M2


Report •

#2
May 31, 2009 at 06:04:02
M2,
You are the best as always!

Report •

Related Solutions


Ask Question