Skip to content

Commit

Permalink
Update constants.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
malik672 authored Nov 9, 2024
1 parent ae225e4 commit 1dc9ae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1dc9ae3

Please sign in to comment.