}
// (packageWeight % 1) * 16 (Rounded up to 0 dp)
BigDecimal weightOunces = packageWeight.remainder(BigDecimal.ONE).multiply(new BigDecimal("16")).setScale(0, BigDecimal.ROUND_CEILING);
UtilXml.addChildElementValue(packageElement, "Pounds", weightPounds.toPlainString(), requestDocument);
UtilXml.addChildElementValue(packageElement, "Ounces", weightOunces.toPlainString(), requestDocument);
// TODO: handle other container types, package sizes, and machinable packages
// IMPORTANT: Express or Priority Mail will fail if you supply a Container tag: you will get a message like
// Invalid container type. Valid container types for Priority Mail are Flat Rate Envelope and Flat Rate Box.
/* This is an official response from the United States Postal Service: