The Standard LibrarymathMethodsceilOn this pageceilRounds up to the nearest integer. ceil(1.2); // 2 Syntax ceil(value) Returns The rounded up value as a double.