Trait DecimalCheckedOps

Source
pub trait DecimalCheckedOps {
    // Required methods
    fn checked_add(self, other: Decimal) -> Result<Decimal, StdError>;
    fn checked_mul_uint(self, other: Uint128) -> Result<Uint128, StdError>;
    fn to_decimal256(self) -> Decimal256;
}

Required Methods§

Implementations on Foreign Types§

Source§

impl DecimalCheckedOps for Decimal

Implementors§