Returns the larger of two double values.
a first value b second value
a
b
static double max(double a, double b) => a > b ? a : b;