Showing
1 changed file
with
1 additions
and
1 deletions
@@ -191,7 +191,7 @@ class Helpers | @@ -191,7 +191,7 @@ class Helpers | ||
191 | */ | 191 | */ |
192 | public static function transPrice($price) | 192 | public static function transPrice($price) |
193 | { | 193 | { |
194 | - return (!empty($price) && !is_float($price)) ? $price . '.00' : number_format($price, 2, '.', ''); | 194 | + return number_format($price, 2, '.', ''); |
195 | } | 195 | } |
196 | 196 | ||
197 | /** | 197 | /** |
-
Please register or login to post a comment