pub trait MulRounded<Rhs = Self> {
type Output;
// Required method
fn mul_rounded(self, rhs: Rhs, n_frac_digits: u8) -> Self::Output;
}
Expand description
Multiplication giving a result rounded to a given number of fractional digits.
Required Associated Types§
Required Methods§
Sourcefn mul_rounded(self, rhs: Rhs, n_frac_digits: u8) -> Self::Output
fn mul_rounded(self, rhs: Rhs, n_frac_digits: u8) -> Self::Output
Returns self
* rhs
, rounded to n_frac_digits
.