v := 3.1415926535s1 := strconv.FormatFloat(v, 'E', -1, 32)//float32s2 := strconv.FormatFloat(v, 'E', -1, 64)//float64 https://blog.csdn.net/xiaoyou625/article/details/110353996