Author: lektran
Date: Thu Nov 1 01:29:02 2007
New Revision: 590931
URL:
http://svn.apache.org/viewvc?rev=590931&view=revLog:
Switching back to Double
Modified:
ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/usps/UspsServices.java
Modified: ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/usps/UspsServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/usps/UspsServices.java?rev=590931&r1=590930&r2=590931&view=diff==============================================================================
--- ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/usps/UspsServices.java (original)
+++ ofbiz/trunk/applications/product/src/org/ofbiz/shipment/thirdparty/usps/UspsServices.java Thu Nov 1 01:29:02 2007
@@ -221,7 +221,7 @@
while (sii.hasNext()) {
Map itemInfo = (Map) sii.next();
long pieces = ((Long) itemInfo.get("piecesIncluded")).longValue();
- double totalQuantity = ((BigDecimal) itemInfo.get("quantity")).doubleValue();
+ double totalQuantity = ((Double) itemInfo.get("quantity")).doubleValue();
double totalWeight = ((Double) itemInfo.get("weight")).doubleValue();
String productId = (String) itemInfo.get("productId");