Returns the progress of value between start and end (inclusive).
the progress of value between start and end
value
being checked