Calculating Tax (VAT) in ASP.NET db's
Posted on 2005-03-09
I'm looking to create a variable for VAT in a webpage which calls from a db. The itemPrice is the the plain value, then I wanted a vat value which calculates the UK VAT value (17.5%) and then adds it as a second option. I'll also need a third option which adds the two together.
Here's a glimpse of what I have below.
Thanks in advance.
vat = (<%#Container.DataItem("ItemPrice")%> * 0.175)