Sign in
go
/
website
/
9bc7ea507e11e3e7b5cc7b8c6ce2706f83af39c3
/
.
/
_content
/
blog
/
constants
/
complex3.go
blob: 95e9e418da964e5d2cdc128ec728d56372645b84 [
file
] [
log
] [
blame
]
// +build OMIT
package main
import "fmt"
func main() {
const Two = 2.0 + 0i
// START OMIT
var f float64
var g float64 = Two
f = Two
fmt.Println(f, "and", g)
// STOP OMIT
}