DevBits
Home
Atlas
Play
About
Sign up
Log in
All
Go
Math
Trigonometry
Compute Tangent
Compute Tangent
Post Example
Examples in
Go
Compute Tangent in Go
by yhuang
Go
fmt
fmt.Printf
math
math.Tan
package main import ( "fmt" "math" ) func main() { fmt.Printf("%.2f", math.Tan(0)) }