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 0bc45a2 commit 3d53da7Copy full SHA for 3d53da7
include/boost/decimal/string.hpp
@@ -18,7 +18,7 @@ auto to_string(const DecimalType value)
18
BOOST_DECIMAL_REQUIRES_RETURN(detail::is_decimal_floating_point_v, DecimalType, std::string)
19
{
20
char buffer[64];
21
- auto r = to_chars(buffer, buffer + sizeof(buffer), value, chars_format::fixed, 6);
+ auto r = to_chars(buffer, buffer + sizeof(buffer), value);
22
*r.ptr = '\0';
23
return std::string(buffer);
24
}
0 commit comments