Trait fdec::WithScale[][src]

pub trait WithScale<T> {
    fn with_scale(v: T, scale: usize) -> Self;
}
Expand description

Trait of types that can create values from other types with scaling.

Required methods

Creates a number from the given value, applying the given scale to it.

Implementors