pub type D2 = Decimal32<2>;Expand description
A Decimal32 type with two significant figures
after the decimal point.
use high_roller::decimal::D2;
assert_eq!(D2::MAX.get(), 21474836.47_f64);
assert_eq!(D2::MIN.get(), -21474836.48_f64);
assert_eq!(D2::MIN_UNIT.get(), 0.01_f64);Aliased Typeยง
pub struct D2(/* private fields */);