Skip to content

Commit

Permalink
fmt: fix scientific notation in docs
Browse files Browse the repository at this point in the history
Fixes #12340.

Change-Id: I17a8b3711a8593ec60882a0dcadb38f0cc138f4b
Reviewed-on: https://go-review.googlesource.com/13949
Reviewed-by: Rob Pike <r@golang.org>
  • Loading branch information
minux committed Aug 31, 2015
1 parent 32d3b96 commit 24e4cd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fmt/doc.go
Expand Up @@ -34,8 +34,8 @@
%b decimalless scientific notation with exponent a power of two,
in the manner of strconv.FormatFloat with the 'b' format,
e.g. -123456p-78
%e scientific notation, e.g. -1234.456e+78
%E scientific notation, e.g. -1234.456E+78
%e scientific notation, e.g. -1.234456e+78
%E scientific notation, e.g. -1.234456E+78
%f decimal point but no exponent, e.g. 123.456
%F synonym for %f
%g %e for large exponents, %f otherwise
Expand Down

0 comments on commit 24e4cd9

Please sign in to comment.