Function pieces_to_lots
pub fn pieces_to_lots(qty: Qty, lot: Decimal) -> Result<i64, Error>Expand description
The number of lots in a quantity of pieces: a positive whole number of lots, else invalid_qty (the library
never rounds a quantity).