mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-27 15:35:18 +00:00
positive -> nonnegative (#2493)
This commit is contained in:
parent
67cb2dad37
commit
25af02f21a
@ -112,18 +112,18 @@ meaning in this case.
|
|||||||
The *sign* option is only valid for number types, and can be one of the
|
The *sign* option is only valid for number types, and can be one of the
|
||||||
following:
|
following:
|
||||||
|
|
||||||
+---------+----------------------------------------------------------+
|
+---------+------------------------------------------------------------+
|
||||||
| Option | Meaning |
|
| Option | Meaning |
|
||||||
+=========+==========================================================+
|
+=========+============================================================+
|
||||||
| ``'+'`` | indicates that a sign should be used for both |
|
| ``'+'`` | indicates that a sign should be used for both |
|
||||||
| | positive as well as negative numbers. |
|
| | nonnegative as well as negative numbers. |
|
||||||
+---------+----------------------------------------------------------+
|
+---------+------------------------------------------------------------+
|
||||||
| ``'-'`` | indicates that a sign should be used only for negative |
|
| ``'-'`` | indicates that a sign should be used only for negative |
|
||||||
| | numbers (this is the default behavior). |
|
| | numbers (this is the default behavior). |
|
||||||
+---------+----------------------------------------------------------+
|
+---------+------------------------------------------------------------+
|
||||||
| space | indicates that a leading space should be used on |
|
| space | indicates that a leading space should be used on |
|
||||||
| | positive numbers, and a minus sign on negative numbers. |
|
| | nonnegative numbers, and a minus sign on negative numbers. |
|
||||||
+---------+----------------------------------------------------------+
|
+---------+------------------------------------------------------------+
|
||||||
|
|
||||||
The ``'#'`` option causes the "alternate form" to be used for the
|
The ``'#'`` option causes the "alternate form" to be used for the
|
||||||
conversion. The alternate form is defined differently for different
|
conversion. The alternate form is defined differently for different
|
||||||
|
Loading…
x
Reference in New Issue
Block a user