Struct dochy_compaction::kval_enum::Decimal [−][src]
Expand description
Decimal represents 40 digits with dot. It’s supposed to be used for decimal strings which can be converted to without errors.
Fields
int: i128
The integer part.
dot: u8
The number is an integer when dot == 0. When dot == 1, the dot slides to left. If int == 128, it’s 12.8. If int == 100, it’s 10.0 When dot == 2, if int == 128, it’s 1.28. If int == 100, it’s 1.00 …
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Decimal
impl UnwindSafe for Decimal
Blanket Implementations
Mutably borrows from an owned value. Read more