diff --git a/app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/International.php b/app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/International.php index 72f3a25c8c2..226c014a721 100644 --- a/app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/International.php +++ b/app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/International.php @@ -768,9 +768,9 @@ protected function _addDimension($nodePiece) { $sizeChecker = (string)$this->getConfigData('size'); - $height = $this->_getDimension((string)$this->getConfigData('height')); - $depth = $this->_getDimension((string)$this->getConfigData('depth')); - $width = $this->_getDimension((string)$this->getConfigData('width')); + $height = $this->_getDimension((float)$this->getConfigData('height')); + $depth = $this->_getDimension((float)$this->getConfigData('depth')); + $width = $this->_getDimension((float)$this->getConfigData('width')); if ($sizeChecker && $height && $depth && $width) { $nodePiece->addChild('Height', $height);