How to round summary prices with taxAndDiscount plugin?

qreut

No avatar

2005-11-13 22:54

Hello,
we can have prices there only as multiply of 0.5
I am thinking about code like this:


   $actual_value 
3.45;        
   
$half_round round(($actual_value*2), 0)/2


Anybody can help where should i edit code when i am using taxAndDicount?

Thank you in advance

wizzud

No avatar

2005-11-14 00:31

I don't understand the question/problem.
I need a bit more explanation aout what it is you are trying to change or achieve.

qreut

No avatar

2005-11-14 01:42

..total price including VAT should be rounded up ...
i.e.
summary 11010.00
delivery 0.00
vat 2091.90
total summary 13101.90 --- should be 13102.00

or i.e. total summary 2101.30 --- 2101.50

wizzud

No avatar

2005-11-14 15:23

What currency are you using? What country are you trading in?

qreut

No avatar

2005-11-19 14:56

CZK - Czech Republic

qreut

No avatar

2005-11-20 12:55

Is it possible to round the prices?
Thank you for help.

Back to top
about us | contact