Normalize method

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

Implementation

double Normalize(num value, num start, num end) {
  return (value - start)/(end - start);
}