randFloatSpread static method

double randFloatSpread(
  1. num range
)

Implementation

static double randFloatSpread(num range) {
  return range * (0.5 - Math.random());
}