Expand description
Represents a quantity with a non-negative value and specified precision.
Structs§
- Quantity
- Represents a quantity with a non-negative value and specified precision.
Constants§
- QUANTITY_
MAX - The maximum valid quantity value that can be represented.
- QUANTITY_
MIN - The minimum valid quantity value that can be represented.
- QUANTITY_
UNDEF - The sentinel value for an unset or null quantity.
Statics§
- QUANTITY_
RAW_ MAX - The maximum raw quantity integer value.
Functions§
- check_
positive_ quantity - Checks if the quantity
value
is positive.