fs#135 number in cvs are formatted thanks the function ac_common::nb, it wil help

the users who are using excel
This commit is contained in:
Dany De Bontridder 2010-07-17 16:49:54 +00:00
parent 434a73df2d
commit 9c8f8b483f
5 changed files with 39 additions and 32 deletions

View file

@ -61,7 +61,7 @@ if ( $_GET['p_step'] == 0 )
foreach ( $Form->row as $op ) {
echo '"'.$op['desc'].'"'.";".
sprintf("%8.2f",$op['montant']).
nb($op['montant']).
"\n";
}
@ -97,7 +97,7 @@ if ( $_GET['p_step'] == 0 )
$a++;
foreach ($e as $elt)
{
printf(";%s",$elt['montant']);
printf(";%s",nb($elt['montant']));
}
printf("\n");
}