go

How to perform division in Go

英文: How to perform division in Go 问题 我正在尝试在Go语言中进行简单的除法运算。 fmt.Println(3/10) 这段代码输出的结果是0,而不是0.3。这有点奇...