Normalize function

double Normalize(
  1. double value,
  2. double start,
  3. double end
)

Implementation

double Normalize(double value, double start, double end) =>
    (value - start) / (end - start);