Browse Source

Merge pull request #2396 from WraithGlade/patch-1

Fixed incorrect precision value in `fmt` doc.
gingerBill 2 years ago
parent
commit
6004412365
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/fmt/doc.odin

+ 1 - 1
core/fmt/doc.odin

@@ -68,7 +68,7 @@ A period with no following number specifies a precision of 0.
 Examples:
 	%f     default width, default precision
 	%8f    width 8, default precision
-	%.3f   default width, precision 2
+	%.2f   default width, precision 2
 	%8.3f  width 8, precision 3
 	%8.f   width 8, precision 0