Gomathmath.Sqrt

正の平方根を返します。

문법

math.Sqrt(x float64) float64

예제

아래 값을 입력하면 예제에 즉시 반영됩니다.

fmt
Println
math
fmt.Println(math.Sqrt(16)) // 4