Function for Adding Sales Tax

What function would I use to take a given amount of money and add 6% sales tax?


In JavaScript you could use:

function addSalesTax(SubTotal){     return SubTotal * 1.06}

In VBScript you could use:

Function AddSalesTax(SubTotal)   AddSalesTax = SubTotal * 1.06End Function

Share the Post:
Share on facebook
Share on twitter
Share on linkedin


Recent Articles: