Hello, From an offset zener diode breakdown circuit, I have collected a set of bytes from an ADC. The values distribute normally as integers between 0 and 1024 with a mean of 512. I would like to use the data to create a set of random integers that distribute uniformly. So far, I have tried taking the subset of the values that lie between 100 and 999, then: val = val/100 val = val - floor(val) val = val * 100 This gives me a uniform distribution of values between 0 and 99 (provided I collect enough data). Is there a better way? Perhaps one that provides more than 100 possible values.