Fix for issue #123

This commit is contained in:
James Cole
2015-11-22 11:25:15 +01:00
parent d1329be2fa
commit 791d12fbb4
2 changed files with 2 additions and 1 deletions

View File

@@ -60,7 +60,7 @@ class Amount
{
$amount = floatval($amount);
$amount = round($amount, 2);
$string = number_format($amount, 2, ',', '.');
$string = money_format('%!.2n', $amount);
if ($coloured === true) {
if ($amount === 0.0) {