package
2.85.0+incompatible
Repository: https://github.com/transcom/mymove.git
Documentation: pkg.go.dev

# Functions

BaseQuantityFromCents creates a BaseQuantity for a provided Cents.
BaseQuantityFromFloat a BaseQuantity for a provided float32.
BaseQuantityFromInt creates a BaseQuantity for a provided int.
BaseQuantityFromThousandthInches creates a BaseQuantity for a provided ThousandthInches.
IntToBaseQuantity returns a unit in BaseQuantity format.
NewDiscountRateFromPercent createDecimals a new DiscountRate using a float64 with 100 representing one whole unit.

# Type aliases

BaseQuantity represents a value in the 10,000ths of a unit measurement for shipment line items.
Cents represents a value in hundreths of US dollars (aka cents).
CubicFeet represents cubic feet.
CubicThousandthInch represents values in cubic thousandths of an inch.
CWT represents a value that is a multiple of 100 pounds.
DiscountRate represents a percentage, usually represented as a value between 0% and 100%.
Dollars represents dollar value in float64.
Miles represents mile value in int.
Millicents represents hundredthousandths of US dollars (1000 millicents/ cent).
Pound represents a value that is a multiple of 1 pound.
ThousandthInches Inches represents a value in thousandth of an inch Eg.