You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package main
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
func main() {
|
|
i := 55 //int
|
|
j := 67.8 //float64
|
|
sum := i + j //不允许 int + float64
|
|
fmt.Println(sum)
|
|
} |