diff --git a/htdocs/compta/resultat/index.php b/htdocs/compta/resultat/index.php
index 764bab70164..bbb6c5511be 100644
--- a/htdocs/compta/resultat/index.php
+++ b/htdocs/compta/resultat/index.php
@@ -481,7 +481,7 @@ for ($mois = 1+$nb_mois_decalage ; $mois <= 12+$nb_mois_decalage ; $mois++)
print '
';
if ($decaiss_ttc[$case] != 0)
{
- print ''.price($decaiss_ttc[$case],'MT').'';
+ print ''.price(price2num($decaiss_ttc[$case],'MT')).'';
$totsorties[$annee]+=$decaiss_ttc[$case];
}
print " | ";
@@ -489,7 +489,7 @@ for ($mois = 1+$nb_mois_decalage ; $mois <= 12+$nb_mois_decalage ; $mois++)
print ' ';
if ($encaiss_ttc[$case] != 0)
{
- print ''.price($encaiss_ttc[$case],'MT').'';
+ print ''.price(price2num($encaiss_ttc[$case],'MT')).'';
$totentrees[$annee]+=$encaiss_ttc[$case];
}
print " | ";
@@ -505,8 +505,8 @@ print '| '.$langs->trans("TotalTTC").' | ';
for ($annee = $year_start ; $annee <= $year_end ; $annee++)
{
$nbcols+=2;
- print ''.(isset($totsorties[$annee])?price($totsorties[$annee],'MT'):' ').' | ';
- print ''.(isset($totentrees[$annee])?price($totentrees[$annee],'MT'):' ').' | ';
+ print ''.(isset($totsorties[$annee])?price(price2num($totsorties[$annee],'MT')):' ').' | ';
+ print ''.(isset($totentrees[$annee])?price(price2num($totentrees[$annee],'MT')):' ').' | ';
}
print "
\n";
@@ -523,7 +523,7 @@ for ($annee = $year_start ; $annee <= $year_end ; $annee++)
print ' ';
if (isset($totentrees[$annee]) || isset($totsorties[$annee]))
{
- print price($totentrees[$annee]-$totsorties[$annee],'MT').' | ';
+ print price(price2num($totentrees[$annee]-$totsorties[$annee],'MT')).'';
// print ' | ';
}
}