Trait rust_fixed_point_decimal::RoundInto [−][src]
pub trait RoundInto<T> where
Self: Sized,
T: Sized, {
fn round_into(self) -> T;
}Expand description
Types providing methods to round their values to fit a given type T.
Required methods
fn round_into(self) -> T
fn round_into(self) -> T
Return a new T instance with a value equivalent to self rounded to
a number of fractional digits implied by T.