From 1dc9ae3d82f1b56b468d330eee09275928407160 Mon Sep 17 00:00:00 2001 From: malik Date: Sat, 9 Nov 2024 10:51:27 +0100 Subject: [PATCH] Update constants.rs --- src/constants.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constants.rs b/src/constants.rs index 7ed0e5a..5954b1c 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -16,10 +16,10 @@ pub enum TradeType { #[derive(Clone, Copy, Debug, Default, Hash, PartialEq, Eq)] pub enum Rounding { /// Rounds down to the nearest whole number. - #[default] RoundDown, /// Rounds to the nearest whole number, rounding halfway cases away from zero. + #[default] RoundHalfUp, /// Rounds up to the nearest whole number.