From 9aa78077c852030076e9c381e473cb65d02ccd87 Mon Sep 17 00:00:00 2001 From: Laurent Giovannoni <laurent.giovannoni@maarch.org> Date: Mon, 4 Mar 2013 23:05:55 +0000 Subject: [PATCH] evo: new format of amount --- core/trunk/core/class/class_functions.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/trunk/core/class/class_functions.php b/core/trunk/core/class/class_functions.php index 8385ccfcdee..68a93a24067 100644 --- a/core/trunk/core/class/class_functions.php +++ b/core/trunk/core/class/class_functions.php @@ -1715,13 +1715,13 @@ class functions { $formattedAmount = ''; if ($currency == 'EUR') { - $formattedAmount = '€ ' . number_format($amount , 2 , ',' , '.' ); + $formattedAmount = '€' . number_format($amount , 2 , ',' , '.' ); } elseif ($currency == 'DOL') { - $formattedAmount = '$ ' . number_format($amount , 2 , '.' , ',' ); + $formattedAmount = '$' . number_format($amount , 2 , '.' , ',' ); } elseif ($currency == 'YEN') { - $formattedAmount = '¥ ' . number_format($amount , 2 , '.' , ',' ); + $formattedAmount = '¥' . number_format($amount , 2 , '.' , ',' ); } elseif ($currency == 'POU') { - $formattedAmount = '£ ' . number_format($amount , 2 , '.' , ',' ); + $formattedAmount = '£' . number_format($amount , 2 , '.' , ',' ); } else { $formattedAmount = ' ' . number_format($amount , 2 , '' , '.' ); } -- GitLab