Query to work out VAT within a price... how??
Posted: Wed Oct 21, 2009 4:46 am
Does anyone know the PHP maths query to work out the VAT within a price?
ie. £10. (or $10 for the USA techy bods).
It's not 10 * 15%... because that would find 15% of 10 and add it on.
I need the element within 10 that is the VAT.
Hope someone can help.
ie. £10. (or $10 for the USA techy bods).
It's not 10 * 15%... because that would find 15% of 10 and add it on.
I need the element within 10 that is the VAT.
Hope someone can help.