simply start with really low high and really high low , rnd is always < 1 so for example only
Code: (Select All)
high = -100000
low = 10
For i = 1 To 100
HL = Rnd
If HL < low Then low = HL
low = (_Round(low * 100000)) / 100000
If HL > high Then high = HL
high = (_Round(high * 100000)) / 100000
Next
Print low, high
b = b + ...