userver: userver/decimal64/format_options.hpp Source File
Loading...
Searching...
No Matches
format_options.hpp
Go to the documentation of this file.
1#pragma once
2
6
7#include <optional>
8#include <string>
9
10USERVER_NAMESPACE_BEGIN
11
12namespace decimal64 {
13
17 std::string decimal_point = ".";
18
20 std::string thousands_sep;
21
24 std::string grouping;
25
27 std::string negative_sign = "-";
28
30 std::string positive_sign;
31
34 std::optional<int> precision;
35
37 bool is_fixed = false;
38};
39
40} // namespace decimal64
41
42USERVER_NAMESPACE_END