Standard library / math
math.Ln10
Natural logarithm of ten. Expected stdout: '2.302585\n'.
Formal Syntax & Structure
go syntaxgo
const Ln10 = 2.30258509299404568401799145468436420760110148862877297603332790Working Example
Example Snippetgo
package main
import ( "fmt" "math")
func main() { fmt.Printf("%.6f\n", math.Ln10)}