diag: Format Price and Quantity w/ up to 6 decimal places
This commit is contained in:
1 parent
a42edaf9fa
commit
4a2b189a07
1 file changed
+2
-2
@@ -112,5 +112,5 @@ using Quantity = CQuantity;
|
||||
using UserLogin = utils::ValueWrapper<struct UserLoginTag, std::string>;
|
||||
} // namespace bts
|
||||
|
||||
FMT_IMPL(bts::Price, p, "{}", p.value());
|
||||
FMT_IMPL(bts::Quantity, q, "{}", q.full_value());
|
||||
FMT_IMPL(bts::Price, p, "{:.6f}", p.value());
|
||||
FMT_IMPL(bts::Quantity, q, "{:.6f}", q.full_value());
|
||||
Reference in new issue
Block a user