[ic] Easiest way to display price inc VAT/TAX??

Jonathan Clark jonc at webmaint.com
Fri Sep 3 18:04:42 EDT 2004

> All prices are stored in the database ex VAT, what is the easiest way to
> DISPLAY prices inc VAT? I found a thread referring to this which
> mentions "$price /= 1.175" (assumes 17.5%), how do I use that???

For retail type catalogs where you tend to display prices inc VAT, we tend
to set the price in the products table including VAT and display the VAT
content on the checkout/receipts.

The reason for this is that using a two decimal ex vat price it is not to
get some inc vat prices to display due to rounding.

Alternatively, here is Jamie Neil's solution:



Jonathan Clark
Managing Director,
Webmaint.com   - Building Clever Websites        http://www.webmaint.com
Webmaint.net   - Business Web Hosting            http://www.webmaint.net
Cartridge SAVE - Printer Consumables Online
WireTel        - Internet Connectivity Solutions http://www.wiretel.net

More information about the interchange-users mailing list