Standard library / math

math.Log10E

Base-ten logarithm of e. Expected stdout: '0.434294\n'.

Formal Syntax & Structure

go syntaxgo
const Log10E = 1 / Ln10

Working Example

Example Snippetgo
package main
import (  "fmt"  "math")
func main() {  fmt.Printf("%.6f\n", math.Log10E)}
Go Reference