1 | calcGST(cost, gst = 0.1)
|
cost |
Numeric. Represents the purchase price in dollars. |
gst |
Numeric. Represents the percentage of GST that was added to the purchase price. Defaults to 10 |
Numeric. Returns the GST dollar amount included in the purchase price, rounded up to the nearest cent. This simple function calculates the Goods and Services Tax (GST) component in a given purchase price.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.