go convert floating point number, to a string, with decimal digits. code example Example: go convert floating point number, to a string, with decimal digits. s := fmt.Sprintf("%.2f", x)