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 57053c5 commit f2bf3b6Copy full SHA for f2bf3b6
examples/fmt_format.cpp
@@ -10,8 +10,8 @@
10
11
int main()
12
{
13
- constexpr boost::decimal::decimal64_t val1 {314, -2};
14
- constexpr boost::decimal::decimal32_t val2 {3141, -3};
+ constexpr boost::decimal::decimal64_t val1 {"3.14"};
+ constexpr boost::decimal::decimal32_t val2 {"3.141"};
15
16
// The easiest is no specification which is general format
17
// Given these values they will print in fixed format
0 commit comments