Commit 2313d4ab9f6fcc19c335fdcd395e678dea7eaf93
1 parent
64044cd3
decimals fix 2=>1
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/app/frontend/views/page/changeWithSize.php
... | ... | @@ -16,7 +16,7 @@ if (isset($users_group_id) && $users_group_id == 37) { |
16 | 16 | //discount |
17 | 17 | $old_price = $data['price']; |
18 | 18 | $data['price'] = $data['price']*(1-$discount/100); |
19 | -$data['price'] = number_format($data['price'], 2, '.', ' '); | |
19 | +$data['price'] = number_format($data['price'], 1, '.', ' '); | |
20 | 20 | if ($discount == 0) { |
21 | 21 | $data['html'] = |
22 | 22 | '<div class="clearfix buy_compare"> | ... | ... |