More portable random number rounding...