Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 96e34ec

Browse files
belimawrrogpeppe
authored andcommitted
message: fixing documentation
Fixes golang/go#26766 Change-Id: I43ad2deb0a55f2c18c820f7885fa9eee4b0e6cd4 Reviewed-on: https://go-review.googlesource.com/127551 Run-TryBot: Iskander Sharipov <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Iskander Sharipov <[email protected]> Reviewed-by: roger peppe <[email protected]>
1 parent 0605a83 commit 96e34ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

message/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
// p.Printf("%d ducks in a row", 4331) // Prints 4,331 ducks in a row
1818
//
1919
// p := message.NewPrinter(message.MatchLanguage("nl"))
20-
// p.Println("Hoogte: %f meter", 1244.9) // Prints Hoogte: 1.244,9 meter
20+
// p.Printf("Hoogte: %.1f meter", 1244.9) // Prints Hoogte: 1,244.9 meter
2121
//
2222
// p := message.NewPrinter(message.MatchLanguage("bn"))
2323
// p.Println(123456.78) // Prints ১,২৩,৪৫৬.৭৮

0 commit comments

Comments
 (0)