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 4d8a2cb commit f1cca59Copy full SHA for f1cca59
doc/modules/ROOT/pages/examples.adoc
@@ -263,6 +263,9 @@ Scientific Format with Specified Precision and Padding:
263
We can make one final change to our `<format>` example where instead of using `std::cout`, we use pass:[C++23's] `<print>`.
264
This example can be found in the `examples/` folder as https://github.com/cppalliance/decimal/blob/develop/examples/print.cpp[print.cpp].
265
266
+
267
+.`<print>` Example
268
+====
269
[source, c++]
270
----
271
#include <boost/decimal.hpp>
@@ -280,8 +283,10 @@ int main()
280
283
}
281
284
282
285
-Expected Output:
-----
286
+.Expected Output:
287
+....
288
03.140e+00
289
03.141e+00
290
291
292
0 commit comments