The Standard LibrarymathMethodsminOn this pageminReturns the minimum of given numbers. min(20, 15); //15min(-20, 0); //-20 Syntax min(a, b) Returns The smaller value as a double.