We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed5b886 commit 7b98b12Copy full SHA for 7b98b12
doc/modules/ROOT/pages/format.adoc
@@ -15,6 +15,19 @@ Boost.Decimal supports formatting with both `<format>` (when C++20 and header ar
15
16
Format is supported when using C++20 and a compiler with appropriate support: GCC >= 13, Clang >= 18, MSVC >= 19.40
17
18
+=== Locale Modifier
19
+
20
+If a format string begins with "L" the current global locale will be applied.
21
+This can be set as so:
22
23
+[source, c++]
24
+----
25
+// Locale can be any valid locale that is installed on your system
26
+const char* locale = "de_DE.UTF-8";
27
+const std::locale a(locale);
28
+std::locale::global(a);
29
30
31
=== Sign Modifier
32
33
|===
0 commit comments