fmt/doc
Nikhil Benesch 0a363f2b02
Allow use of "," format specifier as in Python
f68771a helpfully enabled the "n" typecode for locale-aware printing of
integers, but not for floats. This commit enables the use of "n" for
locale-aware printing of floats, as in Python, and additionally
introduces the "," format specifier, which can be applied to "d", "f",
and "g" (and their upper-case variants, when present) to force
locale-aware grouping.

"," is particularly useful for floats, as "n" will use exponential
notation for large floats, while ",f" never will.

Unlike in Python, there is no distinction between ",d" and "n" for
integers, or ",g" and "n" for floats. (In Python, "," will always output
a literal comma, while "n" is locale-aware.) In fmtlib, both "," and "n"
are locale-aware.
2016-07-21 18:22:17 -04:00
..
_static Customize Sphinx theme 2015-05-19 08:13:13 -07:00
_templates Fix download link 2016-06-03 08:19:24 -07:00
basic-bootstrap Fix HTML errors 2015-05-23 11:59:04 -07:00
bootstrap .container -> .tb-container (fixes #165) 2015-05-23 12:28:41 -07:00
api.rst Make printf argument formatters public (#335, #360) 2016-07-21 06:59:28 -07:00
build.py Fix docs 2016-06-15 07:16:04 -07:00
CMakeLists.txt Pass versions from CMake to Sphinx 2016-06-02 06:41:25 -07:00
conf.py Pass versions from CMake to Sphinx 2016-06-02 06:41:25 -07:00
contents.rst Customize Sphinx theme 2015-05-19 08:13:13 -07:00
fmt.less cppformat -> fmt 2016-04-24 10:39:33 -07:00
index.rst Update homepage and break long lines 2016-07-21 09:00:23 -07:00
python-license.txt Move license to a separate file 2015-05-07 06:43:13 -07:00
syntax.rst Allow use of "," format specifier as in Python 2016-07-21 18:22:17 -04:00
usage.rst Update usage.rst: change Homebrew package name 2016-07-20 07:34:21 +09:00