Float to string. To display the value as a string, use the fmt.Sprintf method. s := fmt.Sprintf("%.2f", 12.3456) // s == "12.35".
確定! 回上一頁