Commit 80a7f8be authored by Eli Zaretskii's avatar Eli Zaretskii

Clarify documentation of precision in format specs

* doc/lispref/strings.texi (Formatting Strings): Be less
definitive wrt what precision means in format specs other than
floating-point, %s and %S.  (Bug#24314)
parent 88a50525
......@@ -1052,8 +1052,9 @@ precision specifies how many decimal places to show; if zero, the
decimal-point itself is also omitted. For @samp{%s} and @samp{%S},
the precision truncates the string to the given width, so @samp{%.3s}
shows only the first three characters of the representation for
@var{object}. Precision has no effect for other specification
characters.
@var{object}. For other specification characters, the effect of
precision is what the local library functions of the @code{printf}
family produce.
@node Case Conversion
@section Case Conversion in Lisp
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment