Standard Library FunctionsMath functions max Return the maximum of numbers Call: double dres = max(double dvalue1, double dvalue2); In dres - the maximum of dvalue1 and dvalue2