diff --git a/html/print_balance.php b/html/print_balance.php
index d9c3333ca..2ae29234a 100644
--- a/html/print_balance.php
+++ b/html/print_balance.php
@@ -120,10 +120,10 @@ for ($i=0;$iCell(30,6,$array[$i]['poste'],0,0,'L',$fill);
$pdf->Cell(80,6,$array[$i]['label'],0,0,'L',$fill);
- $pdf->Cell(20,6,$array[$i]['sum_deb'],0,0,'R',$fill);
- $pdf->Cell(20,6,$array[$i]['sum_cred'],0,0,'R',$fill);
- $pdf->Cell(20,6,$array[$i]['solde_deb'],0,0,'R',$fill);
- $pdf->Cell(20,6,$array[$i]['solde_cred'],0,0,'R',$fill);
+ $pdf->Cell(20,6,nbm($array[$i]['sum_deb']),0,0,'R',$fill);
+ $pdf->Cell(20,6,nbm($array[$i]['sum_cred']),0,0,'R',$fill);
+ $pdf->Cell(20,6,nbm($array[$i]['solde_deb']),0,0,'R',$fill);
+ $pdf->Cell(20,6,nbm($array[$i]['solde_cred']),0,0,'R',$fill);
$pdf->Ln();
$tp_deb+=$array[$i]['sum_deb'];
$tp_cred+=$array[$i]['sum_cred'];
diff --git a/include/balance.inc.php b/include/balance.inc.php
index f1505c24d..181e86dbf 100644
--- a/include/balance.inc.php
+++ b/include/balance.inc.php
@@ -221,10 +221,10 @@ if ( isset($_GET['view'] ) )
echo '';
echo td($view_history);
echo td(h($r['label']));
- echo td($r['sum_deb']);
- echo td($r['sum_cred']);
- echo td($r['solde_deb']);
- echo td($r['solde_cred']);
+ echo td(nbm($r['sum_deb']),'style="text-align:right"');
+ echo td(nbm($r['sum_cred']),'style="text-align:right"');
+ echo td(nbm($r['solde_deb']),'style="text-align:right"');
+ echo td(nbm($r['solde_cred']),'style="text-align:right"');
echo '
';
}
echo '';