| 123456789101112131415161718192021222324 |
- //
- // bigdecimal_format.h
- // bigdecimal
- //
- // Created by Sam Jaffe on 1/30/21.
- // Copyright © 2021 Sam Jaffe. All rights reserved.
- //
- #pragma once
- #include <limits>
- namespace math {
- struct number_format {
- bool separate_thousands;
- size_t decimal_precision;
- };
- constexpr number_format const default_fmt{
- .separate_thousands = false,
- .decimal_precision = std::numeric_limits<size_t>::max()};
- }
|