mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-02 11:28:20 +00:00
add support for bin formatter
This commit is contained in:
parent
631f407f99
commit
c5695691c1
@ -236,10 +236,10 @@ The available integer presentation types are:
|
|||||||
| | upper-case letters for the digits above 9. |
|
| | upper-case letters for the digits above 9. |
|
||||||
+---------+----------------------------------------------------------+
|
+---------+----------------------------------------------------------+
|
||||||
| ``'b'`` | Binary format. Outputs the number in base 2, using |
|
| ``'b'`` | Binary format. Outputs the number in base 2, using |
|
||||||
| | a upper-case 0B if a prefix is requested. |
|
| | a lower-case 0b if a prefix is requested. |
|
||||||
+---------+----------------------------------------------------------+
|
+---------+----------------------------------------------------------+
|
||||||
| ``'B'`` | Binary format. Outputs the number in base 2, using |
|
| ``'B'`` | Binary format. Outputs the number in base 2, using |
|
||||||
| | a lower-case 0b if a prefix is requested. |
|
| | a upper-case 0B if a prefix is requested. |
|
||||||
+---------+----------------------------------------------------------+
|
+---------+----------------------------------------------------------+
|
||||||
| none | The same as ``'d'``. |
|
| none | The same as ``'d'``. |
|
||||||
+---------+----------------------------------------------------------+
|
+---------+----------------------------------------------------------+
|
||||||
|
Loading…
Reference in New Issue
Block a user