Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/language/format_specifications.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ if the integer is longer than the precision:
sprintf('%.d', 0) # => ""
sprintf('%.0d', 0) # => ""

For the +a+/+A+, +e+/+E+, +f+/+F+ specifiers, the precision specifies
For the +a+/+A+, +e+/+E+, +f+ specifiers, the precision specifies
the number of digits after the decimal point to be written:

sprintf('%.2f', 3.14159) # => "3.14"
Expand Down