]> Cypherpunks repositories - gostls13.git/commit
strconv: clarify "g" and "G" precision in the docs
authorDaniela Petruzalek <daniela.petruzalek@gmail.com>
Wed, 1 Aug 2018 00:19:55 +0000 (00:19 +0000)
committerRob Pike <r@golang.org>
Wed, 1 Aug 2018 00:57:00 +0000 (00:57 +0000)
commit6b9c782f9fe7c2f241776f39527714bcfcc24910
treedc3ea04534eff1ac9a94388a0b2343c1827a2855
parentb7d3f4c0b2f421c6b7bf6ce3533f1b34b470b39d
strconv: clarify "g" and "G" precision in the docs

Fix the wording in "strconv" and "fmt" to make explicit
that the "g" and "G" formats remove trailing zeroes.

Fixes #25082

Change-Id: I2e2ad0a98d2ea27a3a8a006a0563b366f7a3b71b
Reviewed-on: https://go-review.googlesource.com/127135
Reviewed-by: Rob Pike <r@golang.org>
src/fmt/doc.go
src/strconv/ftoa.go