The Standard LibrarymathMethodssqrtOn this pagesqrtComputes the square root of a number. sqrt(64); //8.0 Syntax sqrt(value) Returns The square root as a double.