Tan in Go

Posted by GoDoc
Public (Editable by Users)

Tan returns the tangent of the radian argument x.

Go
Edit
package main

import (
	"fmt"
	"math"
)

func main() {
	fmt.Printf("%.2f", math.Tan(0))
}