|
|
 |
Re: FN-FORUM: ASP Maths Problem!
date posted 1st February 2008 10:48
I think you could also use intTotal*1.175 to get the VAT added total
instead of (intTotal)+(intTotal*17.5/100)
Steve Rowe wrote:
>
> Maths on any day isn't good but I think you need to divide the total
> by 1.2
>
>
>
>
>
> Peter Wilson wrote:
>> Hi All,
>>
>> I know it's Friday but can anyone help with this maths problem?
>>
>> I have a client with an online shop written in ASP, they want to add
>> a 20%
>> payable field on the checkout page. So basically you see the total,
>> the vat,
>> then the total+the vat, under this 20% of the total+vat
>>
>> This is ASP for the total:
>>
>>
>>
>> How would I take this and work out 20%?
>>
>> TIA
>>
>>
>>
>>
>> Going on holiday?
>> Need Travel Insurance?
>>
>> www.easyholidayinsurance.com
>>
>>
>>
>>
>
|
 |
|