Expand description
A convenience module appropriate for glob imports (use rust_decimal::prelude::*;).
Re-exports§
pub use crate::Decimal;pub use crate::RoundingStrategy;
Traits§
- A generic trait for converting a number to a value.
 - Parse a value from a string
 - Trait exposing various mathematical operations that can be applied using a Decimal. This is only present when the
mathsfeature has been enabled. - Defines a multiplicative identity element for
Self. - Useful functions for signed numbers (i.e. numbers that can be negative).
 - A generic trait for converting a value to a number.
 - Defines an additive identity element for
Self.