Skip to main content

D5

Type Alias D5 

Source
pub type D5 = Decimal32<5>;
Expand description

A Decimal32 type with five significant figures after the decimal point.

use high_roller::decimal::D5;

assert_eq!(D5::MAX.get(), 21474.83647_f64);
assert_eq!(D5::MIN.get(), -21474.83648_f64);
assert_eq!(D5::MIN_UNIT.get(), 0.00001_f64);

Aliased Typeยง

pub struct D5(/* private fields */);