Question:
What function would I use to take a given amount of money and add 6% sales tax?
Answer:
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
Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience.























