Skip to content

Commit ed5b886

Browse files
committed
Add sign modifier to docs
1 parent dffa335 commit ed5b886

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/modules/ROOT/pages/format.adoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,16 @@ Boost.Decimal supports formatting with both `<format>` (when C++20 and header ar
1515

1616
Format is supported when using C++20 and a compiler with appropriate support: GCC >= 13, Clang >= 18, MSVC >= 19.40
1717

18+
=== Sign Modifier
19+
20+
|===
21+
| Modifier | Format
22+
| "+" | All values will have a sign
23+
| "-" | Only negative values have a sign
24+
| " " | Positive values have a leading space,
25+
Negative have a minus sign
26+
|===
27+
1828
=== Type Modifiers
1929

2030
The following type modifiers are the same as those used by built-in floating point values:

0 commit comments

Comments
 (0)