diff --git a/htdocs/compta/cashcontrol/report.php b/htdocs/compta/cashcontrol/report.php index bf6a7310720..0fbf1d232f8 100644 --- a/htdocs/compta/cashcontrol/report.php +++ b/htdocs/compta/cashcontrol/report.php @@ -387,7 +387,7 @@ if ($resql) { print '
'; } - print $langs->trans("Total").' ('.$totalqty.' '.$langs->trans("Articles").') :
'.price($cash + $cheque + $bank + $other).'
'; + print $langs->trans("Total").' ('.$totalqty.' '.$langs->trans("Articles").') :
'.price((float) $cash + (float) $cheque + (float) $bank + (float) $other).'
'; print '
'.$langs->trans("TotalVAT").' :
'.price($totalvat).'
';