Gehen Sie den Schwimmertyp verstehen
# Program to illustrate float32 and float64 with example
package main
import ("fmt")
func main() {
var salary1 float32
var salary2 float64
salary1 = 50000.503882901
// can store decimals with greater precision
salary2 = 50000.503882901
fmt.Println(salary1)
fmt.Println(salary2)
}
SAMER SAEID