RoundDecimal

Trait RoundDecimal 

Source
pub trait RoundDecimal {
    // Required method
    fn round_decimal(&self, decimals: u8) -> Self;
}

Required Methods§

Source

fn round_decimal(&self, decimals: u8) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl RoundDecimal for f64

Source§

fn round_decimal(&self, decimals: u8) -> Self

Implementors§