contains method
Returns true if this range contains (if the value is in between) the given value, false if not.
@param value @return
Implementation
bool contains(double value) {
if (value > _from && value <= _to) {
return true;
} else {
return false;
}
}