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:
parent
434a73df2d
commit
9c8f8b483f
5 changed files with 39 additions and 32 deletions
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue