fix errata

This commit is contained in:
chai2010
2016-01-07 15:02:42 +08:00
parent 5f3f901bf9
commit ca365a301a
9 changed files with 9 additions and 9 deletions

View File

@@ -16,7 +16,7 @@ FormatInt和FormatUint函數可以用不同的進製來格式化數字
fmt.Println(strconv.FormatInt(int64(x), 2)) // "1111011"
```
fmt.Printf函數的%b、%d、%u和%x等參數提供功能往往比strconv包的Format函數方便很多特别是在需要包含附加額外信息的時候
fmt.Printf函數的%b、%d、%o和%x等參數提供功能往往比strconv包的Format函數方便很多特别是在需要包含附加額外信息的時候
```Go
s := fmt.Sprintf("x=%b", x) // "x=1111011"