📅  最后修改于: 2022-03-11 14:45:01.217000             🧑  作者: Mango
const bitSize = 64 // Don't think about it to much. It's just 64 bits.
floatNum, err := strconv.ParseFloat("123.45", bitSize)
fmt.Println(fmt.Sprintf("%f", floatNum))