How to get the PI value in Go

1 Answer

0 votes
package main

import (
	"fmt"
	"math"
)

func main() {
	fmt.Println(math.Pi)
}



/*
run:

3.141592653589793

*/

 



answered Feb 29, 2020 by avibootz
...