calcGST: Calculate the GST of a product.

Usage Arguments

View source: R/calcGST.R

Usage

1
calcGST(cost, gst = 0.1)

Arguments

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.


SteveLane/ausBeerTax documentation built on May 30, 2019, 4:05 a.m.