Formate la marge pour plus de lisibilit
This commit is contained in:
parent
14274ed3c9
commit
ba308f69b9
@ -95,11 +95,15 @@ if ($db->query($sql))
|
||||
|
||||
if ($marge < 0)
|
||||
{
|
||||
print '<td align="right"><b><font color="red">'.$marge."</font></b> %</td>\n";
|
||||
print '<td align="right"><b><font color="red">';
|
||||
printf("%.2f",$marge);
|
||||
print "</font></b> %</td>\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
print '<td align="right">'.$marge." %</td>\n";
|
||||
print '<td align="right">';
|
||||
printf("%.2f",$marge);
|
||||
print " %</td>\n";
|
||||
}
|
||||
print '<td align="right">'.price($row[2])." HT</td>\n";
|
||||
print '<td align="right">'.price($row[1])." HT</td>\n";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user