Calculating the High and Low of it all
#5
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 + ...
Reply


Messages In This Thread
RE: Calculating the High and Low of it all - by bplus - 10-18-2022, 07:37 PM



Users browsing this thread: 2 Guest(s)