diag: Format Price and Quantity w/ up to 6 decimal places

This commit is contained in:
John Colvin committed 2025-03-17 13:00:15 +00:00
1 parent a42edaf9fa
commit 4a2b189a07
1 file changed
+2 -2
+2 -2
View File
@@ -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());