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,7 +16,7 @@ if (isset($users_group_id) && $users_group_id == 37) { | ||
| 16 | //discount | 16 | //discount |
| 17 | $old_price = $data['price']; | 17 | $old_price = $data['price']; |
| 18 | $data['price'] = $data['price']*(1-$discount/100); | 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 | if ($discount == 0) { | 20 | if ($discount == 0) { |
| 21 | $data['html'] = | 21 | $data['html'] = |
| 22 | '<div class="clearfix buy_compare"> | 22 | '<div class="clearfix buy_compare"> |