%f is a floating point number (basically a decimal) and .2 says to only print two ... Sprintf method Round float to 2 decimal places. yourbasic.org/golang.
確定! 回上一頁