center method

double center()

Implementation

double center() => ($2 - $1) / 2;