Fixed an issue when using totals with promo codes.

Magento calculates with totals less than cent values. Whenever this is the case
$total would be something like $totals == 19.241. This value multiplied by 100
could lead to a frontend issue. The totals is 100 times higher than the actual
invoice value.