DevBits
Home
Atlas
Play
About
Sign up
Log in
All
Go
Math
Compute Max
Compute Max
Post Example
Examples in
Go
Compute Max in Go
by yhuang
Go
fmt
fmt.Println
math
math.Max
package main import ( "fmt" "math" ) func main() { fmt.Println(math.Max(1, 2)) }