pub type UnsignedFixedPoint = FixedU128;
Expand description

The unsigned fixed point type.

Trait Implementations§

source§

impl TruncateFixedPointToInt for UnsignedFixedPoint

source§

fn truncate_to_inner(&self) -> Option<<Self as FixedPointNumber>::Inner>

take a fixed point number and turns it into the truncated inner representation, e.g. FixedU128(1.23) -> 1u128