Answer the question
In order to leave comments, you need to log in
How to remove decimals when displaying discounts?
Good day.
There are 2 components sale.basket.basket and sale.basket.basket.line
The basket displays a 14% discount, and in the basket line it looks like this: 13.964%.
Can anyone tell me how to remove the decimal places? Or maybe the conclusion is not correct.
In sale.basket.basket.line I output it like this.
" class="discount_percent">
<?=$v["DISCOUNT_PRICE_PERCENT_FORMATED"]?>
"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question